personal_honor/app/views/admin/honors/_honor_type.html.erb

19 lines
621 B
Plaintext

<thead>
<tr>
<th><%= t("personal_honor.honor_type.title") %></th>
<th><%= t(:action) %></th>
</tr>
</thead>
<tbody>
<% @honor_types.each do |honor_type| %>
<tr id="<%= dom_id honor_type %>">
<td><%= honor_type.title %></td>
<td class="span2">
<a href="<%= edit_admin_honor_type_path(honor_type) %>#honor_type_modal" data-toggle="modal" data-remote="true" class="action">
<%= t(:edit) %>
</a>
<%= link_to t(:delete_), admin_honor_type_path(honor_type), "data-confirm" => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %>
</td>
</tr>
<% end %>
</tbody>