Sha256: a2a31bc4090089ecc183186c826900f5843920a917d5eb6e5f52fadccf97e117

Contents?: true

Size: 791 Bytes

Versions: 3

Compression:

Stored size: 791 Bytes

Contents

<%= form_for @calendar, :url => (@calendar.new_record? ? admin_calendars_path : admin_calendar_path(@calendar)),:html=>{:class=>"form-horizontal"}  do |f| %>
    <%= error_messages_for(f.object) %>
    <div class="control-group">
      <%= f.label :title,:class => "control-label" %>
      <div class="controls">
        <%= f.text_field :title %>
      </div>
    </div>
        <div class="control-group">
      <%= f.label :color,:class => "control-label" %>
      <div class="controls">
        <%= f.hidden_field :color %>
        <div class="spud_events_admin_color_picker"></div>
      </div>
    </div>
 <div class="form-actions">
  <%= f.submit "Save", :class=>"btn btn-primary"%> or <%=link_to "cancel", admin_list_spud_calendar_events_path, :class => "btn" %>
  </div>

<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_events-1.1.2 app/views/admin/calendars/_form.html.erb
tb_events-1.1.1 app/views/admin/calendars/_form.html.erb
tb_events-1.1.0 app/views/admin/calendars/_form.html.erb