diff --git a/app/views/events/participants.html.erb b/app/views/events/participants.html.erb index 338aee7e..85944c7b 100644 --- a/app/views/events/participants.html.erb +++ b/app/views/events/participants.html.erb @@ -28,7 +28,6 @@ <% end %> - <% sort_participants @participants.each do |participant| application_letter = ApplicationLetter.find_by(user_id: participant.id, event_id: @event.id) @@ -57,10 +56,6 @@ <%= check_box_tag('selected_participants[]', participant.id, false, class: 'participant_selection') %> <% end %> - - - - <% if can? :show_eatings_habits, Event %> <% if application_letter && ( application_letter.vegan || application_letter.vegetarian || application_letter.allergic ) %> @@ -96,10 +91,6 @@ <% end %> <% end %> - - - - <% end %> @@ -112,7 +103,10 @@ <% if can? :print_agreement_letters, Event and @has_agreement_letters %>
- <%= submit_tag t('events.agreement_letters_download.download_all_as'), name: "download_all", class: "btn btn-default" %> + <%= submit_tag t('events.agreement_letters_download.download_all_as'), + :name => "download_all", + :class => "btn btn-default", + :formtarget => "_blank" %> <%= select_tag :download_type, options_for_select([['pdf'], ['zip']]) %>
<% end %>