Sha256: f9712acb4df268b87697a57d13c5555af7bac00579d3ef9e9506c03652a08123

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

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

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

  <div class="field">
    <%= f.label :date %>
    <%= f.datetime_select :date %>
  </div>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
binda-0.0.3 app/views/binda/dates/_form.html.erb
binda-0.0.2 app/views/binda/dates/_form.html.erb