Sha256: 9189f284d176710cc0bebb0d39b24b35160c6b625c2528bd53c6020188d99bd6
Contents?: true
Size: 1.85 KB
Versions: 23
Compression:
Stored size: 1.85 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> <% unless @reserve.completed? %> <div class="field"> <%= f.label :item_identifier %><br /> <%= f.text_field :item_identifier %> </div> <% end %> <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> <p> <strong><%= t('activerecord.attributes.reserve.state') -%>:</strong> <%= i18n_state(@reserve.state) -%> </p> <% unless @reserve.errors[:base].empty? %> <div class="field"> <%= f.label :force_retaining %><br /> <%= f.check_box :force_retaining %> </div> <% end %> <div class="actions"> <% if @reserve.retained? %> <%= f.submit :confirm => "#{t('reserve.attempt_to_update_retained_reservation')} #{t('page.continue')}" %> <% else %> <%= f.submit %> <% end %> </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'), :back -%></li> </ul> </div>
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
enju_circulation-0.1.0.pre15 | app/views/reserves/edit.html.erb |
enju_circulation-0.1.0.pre14 | app/views/reserves/edit.html.erb |
enju_circulation-0.1.0.pre13 | app/views/reserves/edit.html.erb |