Sha256: f81a5afdb58efe2183b085d65c9d6245abb901a2ad0f628328037a0a24fbbc1f
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 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.pre35 | app/views/accepts/_list.html.erb |
enju_library-0.1.0.pre34 | app/views/accepts/_list.html.erb |