Sha256: 74e8531bd910cdbb367de284709e05cf50608aadc0b0437f54aea3bdddcfa727
Contents?: true
Size: 1.85 KB
Versions: 77
Compression:
Stored size: 1.85 KB
Contents
<div id="content_detail" class="ui-corner-all"> <h1 class="title"><%= t('page.new', :model => t('activerecord.models.reserve')) -%></h1> <div id="content_list"> <%= form_for(@reserve, :url => user_reserves_path(@user)) do |f| -%> <%= f.error_messages -%> <div class="field"> <%- if @item -%> <%= render 'manifestations/title', :manifestation => @reserve.manifestation -%> (<%= link_to @item.item_identifier, @item -%>) <%= f.hidden_field :manifestation_id, :value => @item.manifestation.id -%> <%= f.hidden_field :item_id, :value => @item.id -%> <%- elsif @manifestation -%> <%= render 'manifestations/title', :manifestation => @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 %>) <%= f.hidden_field :user_number, :value => @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"> <%= render 'manifestations/book_jacket', :manifestation => @reserve.manifestation -%> <ul> <li><%= link_to t('page.listing', :model => t('activerecord.models.reserve')), user_reserves_path(@reserve.user) -%></li> <%- if @manifestation -%> <li><%= link_to t('page.showing', :model => t('activerecord.models.manifestation')), @manifestation -%></li> <%- end -%> </ul> </div>
Version data entries
77 entries across 77 versions & 1 rubygems