Sha256: d03b88ef9f326773145b22a038a680af4ee21c53f00a484bd51b22c6bde5355f

Contents?: true

Size: 1.3 KB

Versions: 45

Compression:

Stored size: 1.3 KB

Contents

<%= form_for(@reserve) do |f| %>
  <% if @reserve.errors.any? %>
  <div id="errorExplanation">
    <h2><%= pluralize(@reserve.errors.count, "error") %> prohibited this reserve from being saved:</h2>
    <ul>
    <% @reserve.errors.full_messages.each do |msg| %>
      <li><%= msg %></li>
    <% end %>
    </ul>
  </div>
  <% end %>

  <div class="field">
    <%= f.label :user_id %><br />
    <%= f.text_field :user_id %>
  </div>
  <div class="field">
    <%= f.label :manifestation_id %><br />
    <% if @reserve.manifestation %>
      <%= render 'manifestations/title', manifestation: @reserve.manifestation -%>
      <%= f.hidden_field :manifestation_id %>
    <% else %>
      <%= f.text_field :manifestation_id %>
    <% end %>
  </div>
  <div class="field">
    <%= f.label :item_id %><br />
    <%= f.text_field :item_id %>
  </div>
  <div class="field">
    <%= f.label :state %><br />
    <%= f.text_field :state %>
  </div>
  <div class="field">
    <%= f.label :checked_out_at %><br />
    <%= f.datetime_select :checked_out_at %>
  </div>
  <div class="field">
    <%= f.label :canceled_at %><br />
    <%= f.datetime_select :canceled_at %>
  </div>
  <div class="field">
    <%= f.label :expired_at %><br />
    <%= f.datetime_select :expired_at %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
enju_circulation-0.3.11 app/views/reserves/_form.html.erb
enju_circulation-0.3.10 app/views/reserves/_form.html.erb
enju_circulation-0.3.9 app/views/reserves/_form.html.erb
enju_circulation-0.4.0.rc.1 app/views/reserves/_form.html.erb
enju_circulation-0.3.8 app/views/reserves/_form.html.erb
enju_circulation-0.3.7 app/views/reserves/_form.html.erb
enju_circulation-0.4.0.beta.4 app/views/reserves/_form.html.erb
enju_circulation-0.4.0.beta.3 app/views/reserves/_form.html.erb
enju_circulation-0.3.6 app/views/reserves/_form.html.erb
enju_circulation-0.4.0.beta.2 app/views/reserves/_form.html.erb
enju_circulation-0.4.0.beta.1 app/views/reserves/_form.html.erb
enju_circulation-0.3.5 app/views/reserves/_form.html.erb
enju_circulation-0.3.4 app/views/reserves/_form.html.erb
enju_circulation-0.3.3 app/views/reserves/_form.html.erb
enju_circulation-0.3.2 app/views/reserves/_form.html.erb
enju_circulation-0.3.1 app/views/reserves/_form.html.erb
enju_circulation-0.3.0 app/views/reserves/_form.html.erb
enju_circulation-0.3.0.rc.1 app/views/reserves/_form.html.erb
enju_circulation-0.3.0.beta.1 app/views/reserves/_form.html.erb
enju_circulation-0.2.5 app/views/reserves/_form.html.erb