Sha256: 6cd1f099074f4ae8f53e5f2bf2a3fb02492a0c7d3e34bd16cb5f7bb3a791484d

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

<%= render 'paginate_id_link', manifestation: @parent, manifestation_ids: @manifestation_ids %>

<h2 class="resource_title">
  [M]
  <%= link_to @parent.original_title, @parent, itemprop: 'name' -%>
  <% if @parent.serial? %>
    <%= image_tag('icons/newspaper.png', size: '16x16', alt: t('manifestation.serial')) -%>
  <%- end -%>
  <%= link_to form_icon(@parent.carrier_type), @parent -%>
</h2>

<div class="search_form">
<%= form_for :manifestations, url: manifestations_path, html: {method: 'get'} do -%>
  <p>
    <%= label_tag :search_form_top, t('page.search_term') -%>:
    <%= search_field_tag 'query', h(@query), {id: 'search_form_top', class: 'search_form', placeholder: t('page.search_term')} -%>
    <%= hidden_field_tag 'parent_id', @parent.id -%>
    <%= hidden_field_tag 'reservable', h(@reservable) if @reservable -%>
    <% if policy(@parent).update? %>
      <%= render 'page/add' %>
    <% end %>
    <%= submit_tag t('page.search') -%>
    <br />
    <%= link_to t('page.advanced_search'), page_advanced_search_path -%>
  </p>
<%- end -%>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.2.0.beta.3 app/views/manifestations/_index_form_parent.html.erb
enju_biblio-0.2.0.beta.2 app/views/manifestations/_index_form_parent.html.erb
enju_biblio-0.2.0.beta.1 app/views/manifestations/_index_form_parent.html.erb