Sha256: 87de726cfeca1c990fad0648ab617a2e13f5e97b901907e4296e4355da6b1532

Contents?: true

Size: 937 Bytes

Versions: 2

Compression:

Stored size: 937 Bytes

Contents

<%= form_for @calendar_event, :url => path, :builder => TbCore::FormBuilder, :html => {:class => "form-horizontal"} do |f| %>
  <%= tb_form_error_header(f.object) %>

  <%= f.tb_select :spud_calendar_id, options_from_collection_for_select(SpudCalendar.all, :id, :title, @calendar_event.spud_calendar_id) %>

  <%= f.tb_text_field :title %>
  <%= f.tb_text_area :description, :style => "width:100%;", :class => 'tinymce full-width' %>
  
  <%= f.tb_datetime_select :start_at, :ampm => true, :minute_step => 5 %>
  <%= f.tb_datetime_select :end_at, :ampm => true, :minute_step => 5 %>

  <%= f.tb_text_field :location %>
  <%= f.tb_text_field :address %>
  <%= f.tb_text_field :address_2 %>
  <%= f.tb_text_field :city %>
  <%= f.tb_text_field :state %>
  <%= f.tb_text_field :zip %>

  <%= f.tb_save_buttons 'Event', admin_list_spud_calendar_events_path, @calendar_event.id ? admin_calendar_event_path(@calendar_event) : nil %>

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tb_events-1.3.1 app/views/admin/calendar_events/_form.html.erb
tb_events-1.3.0 app/views/admin/calendar_events/_form.html.erb