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

21 lines
909 B
Plaintext
Raw Normal View History

2021-03-01 15:44:52 +00:00
<thead>
<tr>
2021-03-03 07:44:42 +00:00
parse_again_start
2021-03-01 15:44:52 +00:00
<th><%= t("personal_plugin_template.plugin_template_related.related_backend_index_fields") %></th>
2021-03-03 07:44:42 +00:00
parse_again_end
2021-03-01 15:44:52 +00:00
<th><%= t(:action) %></th>
</tr>
</thead>
<tbody>
<% @plugin_template_relateds.each do |plugin_template_related| %>
<tr id="<%= dom_id plugin_template_related %>">
2021-03-03 07:44:42 +00:00
parse_again_start
2021-03-01 15:44:52 +00:00
<td>related_backend_index_fields_contents</td>
2021-03-03 07:44:42 +00:00
parse_again_end
2021-03-01 15:44:52 +00:00
<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>