Sha256: 36218bb5d0e9674a0f7c8e4d071eeff69f583d4bfa4b82a8fefd8c768b12fa16

Contents?: true

Size: 1.23 KB

Versions: 35

Compression:

Stored size: 1.23 KB

Contents

<%= simple_form_for(@event, :validate => true) do |f| -%>
  <%= f.error_notification %>

  <div class="field">
    <%= f.label t('activerecord.models.event_category') -%><br />
    <%= f.select(:event_category_id, @event_categories.collect{|e| [e.display_name.localize, e.id]}) -%>
  </div>

  <div class="field">
    <%= f.label t('activerecord.models.library') -%><br />
    <%= f.select(:library_id, @libraries.collect{|l| [l.display_name.localize, l.id]}) -%>
  </div>

  <div class="field">
    <%= f.label :name -%><br />
    <%= f.text_field :name, :class => 'resource_title' -%>
  </div>

  <div class="field">
    <%= f.label :display_name -%><br />
    <%= f.text_area :display_name, :class => 'resource_textarea' -%>
  </div>

  <div class="field">
    <%= f.label :start_at -%><br />
    <%= f.datetime_select :start_at, :use_month_numbers => true -%>
    <%= f.label :all_day -%>
    <%= f.check_box :all_day -%>
  </div>

  <div class="field">
    <%= f.label :end_at -%><br />
    <%= f.datetime_select :end_at, :use_month_numbers => true -%>
  </div>

  <div class="field">
    <%= f.label :note -%><br />
    <%= f.text_area :note, :class => 'resource_textarea' -%>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<%- end -%>

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
enju_event-0.0.25 app/views/events/_form.html.erb
enju_event-0.1.12 app/views/events/_form.html.erb
enju_event-0.1.11 app/views/events/_form.html.erb
enju_event-0.0.24 app/views/events/_form.html.erb
enju_event-0.0.23 app/views/events/_form.html.erb
enju_event-0.1.10 app/views/events/_form.html.erb
enju_event-0.1.9 app/views/events/_form.html.erb
enju_event-0.0.22 app/views/events/_form.html.erb
enju_event-0.0.21 app/views/events/_form.html.erb
enju_event-0.1.8 app/views/events/_form.html.erb
enju_event-0.0.20 app/views/events/_form.html.erb
enju_event-0.1.7 app/views/events/_form.html.erb
enju_event-0.0.19 app/views/events/_form.html.erb
enju_event-0.1.6 app/views/events/_form.html.erb
enju_event-0.0.18 app/views/events/_form.html.erb
enju_event-0.0.17 app/views/events/_form.html.erb
enju_event-0.1.5 app/views/events/_form.html.erb
enju_event-0.0.16 app/views/events/_form.html.erb
enju_event-0.1.4 app/views/events/_form.html.erb
enju_event-0.1.3 app/views/events/_form.html.erb