Sha256: 02e09f52db984bfe63697005ceda877dadd176230ab91f83624ff65816d0178e

Contents?: true

Size: 1.1 KB

Versions: 39

Compression:

Stored size: 1.1 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.listing', model: t('activerecord.models.agent')) -%></h1>
<div id="content_list">

<div class="search_form">
  <%= form_for :agents, url: agents_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')} -%>
      <%= submit_tag t('page.search') -%>
    </p>
  <%- end -%>
</div>

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.attributes.agent.full_name') -%></th>
    <th><%= t('activerecord.models.agent_type') -%></th>
    <th></th>
  </tr>
  <%= render @agents %>
</table>

<%= paginate(@agents) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <%- if policy(Agent).create? -%>
      <li><%= link_to t('agent.add'), new_agent_path -%></li>
      <li><%= link_to t('page.merge', model: t('activerecord.models.agent')), agent_merge_lists_path -%></li>
    <%- end -%>
  </ul>
</div>

Version data entries

39 entries across 38 versions & 2 rubygems

Version Path
enju_biblio-0.3.18 app/views/agents/_index.html.erb
enju_biblio-0.3.17 app/views/agents/_index.html.erb
enju_biblio-0.3.16 app/views/agents/_index.html.erb
enju_biblio-0.3.15 app/views/agents/_index.html.erb
enju_biblio-0.3.14 app/views/agents/_index.html.erb
enju_biblio-0.3.13 app/views/agents/_index.html.erb
enju_biblio-0.3.12 app/views/agents/_index.html.erb
enju_biblio-0.3.11 app/views/agents/_index.html.erb
enju_biblio-0.3.10 app/views/agents/_index.html.erb
enju_biblio-0.3.10.rc.3 app/views/agents/_index.html.erb
enju_biblio-0.3.10.rc.2 app/views/agents/_index.html.erb
enju_biblio-0.3.10.rc.1 app/views/agents/_index.html.erb
enju_biblio-0.3.9 app/views/agents/_index.html.erb
enju_biblio-0.4.0.rc.1 app/views/agents/_index.html.erb
enju_biblio-0.3.8 app/views/agents/_index.html.erb
enju_biblio-0.3.7 app/views/agents/_index.html.erb
enju_biblio-0.3.6 app/views/agents/_index.html.erb
enju_biblio-0.4.0.beta.2 app/views/agents/_index.html.erb
enju_biblio-0.4.0.beta.1 app/views/agents/_index.html.erb
enju_biblio-0.3.5 app/views/agents/_index.html.erb