Sha256: d3464e8f34e606a1eaceec45c47abc9340292fdb282a4f3126c3a1d7075b87d7
Contents?: true
Size: 1.76 KB
Versions: 3
Compression:
Stored size: 1.76 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.series_statement')) -%></h1> <div id="content_list"> <div class="search_form"> <%= form_for :series_statements, :url => series_statements_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') -%> <%= set_focus_on_search_form -%> </p> <%- end -%> </div> <table class="table table-striped index"> <tr> <th id="position"></th> <th><%= t('activerecord.attributes.series_statement.original_title') -%></th> <th></th> </tr> <% @series_statements.each do |series_statement| %> <tr class="line<%= cycle("0", "1") -%>"> <td> <%- if @query.present? and can? :update, series_statement -%> <%= move_position(series_statement) -%> <%- end -%> </td> <td> <strong><%= link_to series_statement.original_title, series_statement %></strong> </td> <td> <%= link_to t('page.edit'), edit_series_statement_path(series_statement) if can? :update, series_statement -%> <%= link_to t('page.destroy'), series_statement, :data => {:confirm => t('page.are_you_sure')}, :method => :delete if can? :delete, series_statement -%> </td> </tr> <% end %> </table> <%= paginate(@series_statements) -%> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> <ul> <% if can? :create, SeriesStatement %> <li><%= link_to t('page.new', :model => t('activerecord.models.series_statement')), new_series_statement_path -%></li> <% end %> </ul> </div>
Version data entries
3 entries across 3 versions & 1 rubygems