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