Sha256: 19ef8d08e99bfc49aa69d5671a027e03dc430658811d87ec94b4786e3b25e6dc
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 Bytes
Contents
<% if existing_action?(collection_presenter.resource_name, :edit) %> <td><%= link_to( t("administrate.actions.edit"), [:edit, namespace, resource], class: "action-edit", ) if accessible_action?(resource, :edit) %></td> <% end %> <% if existing_action?(collection_presenter.resource_name, :destroy) %> <td><%= button_to( t("administrate.actions.destroy"), [namespace, resource], class: "link link--danger", method: :delete, data: { turbo_confirm: t("administrate.actions.confirm") } ) if accessible_action?(resource, :destroy) %></td> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems