Sha256: b81398a9039650e7d6b5ee17e45e65125c149c8f05ab3c353904e49d274e3fde
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
<div style="color: red"><%= flash[:message] -%></div> <div class="search_form"> <%= form_for(:accept, :url => basket_accepts_path(@basket), :remote => true) do |f| %> <%= f.error_messages %> <p> <%= label_tag :item_identifier, t('activerecord.attributes.item.item_identifier') -%>: <%= f.search_field :item_identifier, :class => 'resource_item_identifier', :value => nil -%> <%= f.submit t('accept.accept'), 'data-disable-with' => t('page.saving') -%> </p> <%- end -%> </div> <table class="index"> <tr> <th><%= t('activerecord.models.item') -%></th> </tr> <%- @accepts.each_with_index do |accept, i| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> <%= render 'manifestations/show_index', :manifestation => accept.item.manifestation %> <%= link_to accept.item.item_identifier, accept.item -%> / <%= accept.item.call_number %> (<%= link_to accept.item.shelf.library.display_name.localize, accept.item.shelf.library %> / <%= link_to accept.item.shelf.display_name.localize, accept.item.shelf %>)<br /> <%=l accept.created_at %> </td> </tr> <%- end -%> </table> <%= javascript_tag("$(function(){$('#accept_item_identifier').focus()})") %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_library-0.1.0.pre33 | app/views/accepts/_list.html.erb |
enju_library-0.1.0.pre32 | app/views/accepts/_list.html.erb |