Sha256: 2835961065a4064c370b5983086a9a6cef8bb83088728b95eaed9d19a7091e11

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 can? :update, @parent %>
      <%= 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 & 2 rubygems

Version Path
enju_flower-0.1.2 app/views/manifestations/_index_form_parent.html.erb
enju_biblio-0.1.3 app/views/manifestations/_index_form_parent.html.erb
enju_biblio-0.1.2 app/views/manifestations/_index_form_parent.html.erb