personal_plugin_generator/template_generator/app/views/admin/plugin_templates/_plugin_template_related.ht...

23 lines
863 B
Plaintext

<thead>
<tr>
parse_again_start
<th><%= t("personal_plugin_template.plugin_template_related.related_backend_index_fields") %></th>
parse_again_end
<th><%= t(:action) %></th>
</tr>
</thead>
<tbody>
<% @plugin_template_relateds.each do |plugin_template_related| %>
<tr id="<%= dom_id plugin_template_related %>">
parse_again_start
<td>related_backend_index_fields_contents</td>
parse_again_end
<td class="span2">
<a href="<%= edit_admin_plugin_template_related_path(plugin_template_related) %>#plugin_template_related_modal" data-toggle="modal" data-remote="true" class="action">
<%= t(:edit) %>
</a>
<%= link_to t(:delete_), admin_plugin_template_related_path(plugin_template_related), "data-confirm" => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %>
</td>
</tr>
<% end %>
</tbody>