Sha256: 391203204895151b877edbb7ba64894481c3327a4188a0ba78ed53fd80d9a504

Contents?: true

Size: 1.16 KB

Versions: 9

Compression:

Stored size: 1.16 KB

Contents

<div id="content_detail" class="ui-corner-all">
<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 id="edit_icons"></th>
  </tr>
  <%= render @agents %>
</table>

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre51 app/views/agents/_index.html.erb
enju_biblio-0.1.0.pre50 app/views/agents/_index.html.erb
enju_biblio-0.1.0.pre49 app/views/agents/_index.html.erb
enju_biblio-0.1.0.pre48 app/views/agents/_index.html.erb
enju_biblio-0.1.0.pre47 app/views/agents/_index.html.erb
enju_biblio-0.1.0.pre46 app/views/agents/_index.html.erb
enju_biblio-0.1.0.pre45 app/views/agents/_index.html.erb
enju_biblio-0.1.0.pre44 app/views/agents/_index.html.erb
enju_biblio-0.1.0.pre43 app/views/agents/_index.html.erb