Sha256: 182586c980a55f9b06553d04ea0f8a630cca551737c6e92dc7d466def868ef4b
Contents?: true
Size: 616 Bytes
Versions: 7
Compression:
Stored size: 616 Bytes
Contents
<% if can?(:edit, base_class) %> <%= link_to fa_icon("edit"), edit_polymorphic_path(url_namespace(obj)), title: t(:edit), class: "edit" %> <% end %> <% if check_presence_polymorphic_path(url_namespace(obj)+[:clone], action: :new) and can?(:clones, base_class) %> <%= link_to_dialog fa_icon("clone"), new_polymorphic_path(url_namespace(obj)+[:clone]), title: t(:clone, model: base_class.model_name.human), class: "clone" %> <% end %> <% if can?(:destroy, base_class) %> <%= delete_button polymorphic_path(url_namespace(obj)), icon: "trash" %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems