Skip to content

Commit

Permalink
Reverting to previous if not. I cant think of a solution that works w…
Browse files Browse the repository at this point in the history
…ithout one while maintaining nesting level.
  • Loading branch information
Fabian-Sommer committed Feb 8, 2017
1 parent c785f0a commit fdb1a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/events/participants.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<%= participant.email %>
</td>
<td>
<% unless participant.requires_agreement_letter_for_event?(@event) %>
<% if not participant.requires_agreement_letter_for_event?(@event) %>
<span class="text-muted"> <%= t '.unnecessary' %> </span>
<% elsif participant.agreement_letter_for_event?(@event) %>
<span class="text-success" title="<%= participant.agreement_letter_for_event(@event).updated_at %>"> <%= t '.available' %> </span>
Expand Down

0 comments on commit fdb1a34

Please sign in to comment.