Sha256: 2d7688bcce48f3c3e06e31f3e15053184327127f51510538f3476bb657ccef1c

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

<% if @model.has_route?(:edit) && can?(:update, @model) %>
  <%=
    link_to(
      content_tag(
        :i,
        nil,
        class: 'fa fa-pencil'
      ),
      [:edit, resource],
      title: I18n.t('action.update', name: resource.name),
      class: 'spinner-link'
    )
  %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adminpanel-2.4.2 app/views/adminpanel/icons/_edit.html.erb
adminpanel-2.4.1 app/views/adminpanel/icons/_edit.html.erb