diff --git a/app/views/events/participants.html.erb b/app/views/events/participants.html.erb index 5bca172d..338aee7e 100644 --- a/app/views/events/participants.html.erb +++ b/app/views/events/participants.html.erb @@ -123,17 +123,17 @@ :target => '_blank' %> <% end %> <% end %> -
- <%= link_to t('.back', :default => t('helpers.links.back')), - event_path(@event), :class => 'btn btn-default' %> +
+ <%= link_to t('.back', :default => t('helpers.links.back')), + event_path(@event), :class => 'btn btn-default' %> - <% if @event.phase == :execution %> - <%= link_to t('events.badges.print_button_label'), - badges_event_path(@event), - :class => 'btn btn-default', - :disabled => @participants.empty?, - :target => '_blank' %> - <% end %> + <% if @event.phase == :execution %> + <%= link_to t('events.badges.print_button_label'), + badges_event_path(@event), + :class => 'btn btn-default', + :disabled => @participants.empty?, + :target => '_blank' %> + <% end %>