Sha256: 2a1708072d40c33570400d83b5c6a816354bf25b44317383473937943eb934ac
Contents?: true
Size: 859 Bytes
Versions: 25
Compression:
Stored size: 859 Bytes
Contents
<h1>Adding Attendees/Participants to Event: <%= @event.name %></h1> <%= form_tag add_attendees_event_path(@event) do %> <table class="nice_table"> <tr> <th>Name</th> <th>Info</th> <th></th> </tr> <% @participants.group_by(&:class).each do |type, participants| %> <tr> <td colspan="3"><strong><%= type.to_s.titleize %></strong></td> </tr> <% participants.each do |participant| %> <tr> <td><%= participant.name %></td> <td><%= participant.info %></td> <td><%= check_box_tag "#{type.to_s.downcase}_ids[]", participant.id %></td> </tr> <% end %> <% end %> <tr> <td colspan="3" style="text-align:right"> <%= submit_tag "add selected participants to this event" %> </td> </tr> </table> <% end if has_authorization?(:add_attendees, @event) %>
Version data entries
25 entries across 25 versions & 1 rubygems