Sha256: f043504936380484649cf33b139534314f24fcda46f0c3c566e7028000f733f1

Contents?: true

Size: 1.24 KB

Versions: 101

Compression:

Stored size: 1.24 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.reserve')) -%></h1>
<div id="content_list">

<%= form_for(@reserve) do |f| -%>
  <%= f.error_messages -%>

  <div class="field">
    <%- if @reserve.manifestation -%>
      <%= render 'manifestations/title', :manifestation => @reserve.manifestation -%>
      <%= f.hidden_field :manifestation_id -%>
    <%- else -%>
      <%= f.label t('activerecord.models.manifestation') -%><br />
      <%= f.text_field :manifestation_id -%>
    <%- end -%>
  </div>

  <div class="field">
    <%= f.label t('activerecord.models.user') -%>
    <%= link_to @reserve.user.username, @reserve.user -%>
    (<%= @reserve.user.user_number %>)
  </div>

  <div class="field">
    <%= f.label :expired_at -%><br />
    <%= f.text_field :expired_at, :value => @reserve.expired_at.try(:strftime, "%Y-%m-%d"), :class => 'date_field', :placeholder => "#{t('page.example')}: 2011-04-12"-%>
  </div>

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

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.show'), @reserve -%></li>
    <li><%= link_to t('page.back'), user_reserves_path(@reserve.user) -%></li>
  </ul>
</div>

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
enju_circulation-0.1.0.pre11 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre10 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre9 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre8 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre7 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre6 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre5 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre4 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre3 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre2 app/views/reserves/edit.html.erb
enju_circulation-0.1.0.pre app/views/reserves/edit.html.erb
enju_message-0.1.11 app/views/reserves/edit.html.erb
enju_message-0.0.25 app/views/reserves/edit.html.erb
enju_circulation-0.0.71 app/views/reserves/edit.html.erb
enju_circulation-0.0.70 app/views/reserves/edit.html.erb
enju_circulation-0.0.69 app/views/reserves/edit.html.erb
enju_circulation-0.0.68 app/views/reserves/edit.html.erb
enju_circulation-0.0.67 app/views/reserves/edit.html.erb
enju_circulation-0.0.66 app/views/reserves/edit.html.erb
enju_circulation-0.0.65 app/views/reserves/edit.html.erb