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

Version Path
event_calendar_engine-0.2.15 app/views/attendees/new.html.erb
event_calendar_engine-0.2.14 app/views/attendees/new.html.erb
event_calendar_engine-0.2.13 app/views/attendees/new.html.erb
event_calendar_engine-0.2.11 app/views/attendees/new.html.erb
event_calendar_engine-0.2.10 app/views/attendees/new.html.erb
event_calendar_engine-0.2.8 app/views/attendees/new.html.erb
event_calendar_engine-0.2.7 app/views/attendees/new.html.erb
event_calendar_engine-0.2.6 app/views/attendees/new.html.erb
event_calendar_engine-0.2.5 app/views/attendees/new.html.erb
event_calendar_engine-0.2.4 app/views/attendees/new.html.erb
event_calendar_engine-0.2.3 app/views/attendees/new.html.erb
event_calendar_engine-0.2.2 app/views/attendees/new.html.erb
event_calendar_engine-0.2.1 app/views/attendees/new.html.erb
event_calendar_engine-0.2.0 app/views/attendees/new.html.erb
event_calendar_engine-0.1.11 app/views/attendees/new.html.erb
event_calendar_engine-0.1.10 app/views/attendees/new.html.erb
event_calendar_engine-0.1.9 app/views/attendees/new.html.erb
event_calendar_engine-0.1.8 app/views/attendees/new.html.erb
event_calendar_engine-0.1.7 app/views/attendees/new.html.erb
event_calendar_engine-0.1.6 app/views/attendees/new.html.erb