Skip to content

Instantly share code, notes, and snippets.

@GirlBossRush
Created March 13, 2012 21:06
Show Gist options
  • Save GirlBossRush/2031591 to your computer and use it in GitHub Desktop.
Save GirlBossRush/2031591 to your computer and use it in GitHub Desktop.
<section class="triggers">
<aside class="active">
<h2>Active Triggers</h2>
<ul>
<% current_patient.triggers.each do |t| %>
<%= "<li>#{t.name}</li>".html_safe if t.enabled %>
<% end %>
</ul>
</aside>
<aside class="inactive">
<h2>Inactive Triggers</h2>
<% current_patient.triggers.each do |t| %>
<%= "<li>#{t.name}</li>".html_safe if !t.enabled %>
<% end %>
</ul>
</aside>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment