Sha256: c05fac08ea127205f072e8882a4347f408e5f7674a77476bf7732e3f3d4ef1e5

Contents?: true

Size: 625 Bytes

Versions: 6

Compression:

Stored size: 625 Bytes

Contents

<%= simple_form_for(@event) do |f| %>
  <% if @event.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>

      <ul>
      <% @event.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field form-group">
    <%= f.input :date %>
  </div>
  <div class="field form-group">
    <%= f.input :datetime %>
  </div>
  <div class="field form-group">
    <%= f.input :time %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
date_picker-0.0.6 test/dummy/app/views/events/_form.html.erb
date_picker-0.0.5 test/dummy/app/views/events/_form.html.erb
date_picker-0.0.4 test/dummy/app/views/events/_form.html.erb
date_picker-0.0.3 test/dummy/app/views/events/_form.html.erb
date_picker-0.0.2 test/dummy/app/views/events/_form.html.erb
date_picker-0.0.1 test/dummy/app/views/events/_form.html.erb