Sha256: b535204558a15d18876b69014144bb98bda1b149b8ea66f5c5947bf4f3874050
Contents?: true
Size: 538 Bytes
Versions: 25
Compression:
Stored size: 538 Bytes
Contents
<h2>Add Participants to the <%= @event.name %> Group</h2> <%= semantic_form_for(@attendee, :url => event_attendees_path) do |form| %> <%= form.inputs do %> <%= form.input :event_id, :as => :hidden, :value => params[:event_id] %> <% @participants.group_by(&:class).each do |type, participants| %> <%= form.input type.to_s.downcase.pluralize, { :as => :check_boxes, :collection => participants } %> <% end %> <% end %> <%= form.submit %> <% end if has_authorization?(:add_attendees, @event) %>
Version data entries
25 entries across 25 versions & 1 rubygems