Sha256: ce35b8e8e7bb1e8bb9371e8b59ce3e54889d47d00f46bbbcdb14d10b76046567

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 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') + " #{resource.name}",
      class: 'spinner-link'
    )
  %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminpanel-2.4.0 app/views/adminpanel/icons/_edit.html.erb
adminpanel-2.3.1 app/views/adminpanel/icons/_edit.html.erb
adminpanel-2.3.0 app/views/adminpanel/icons/_edit.html.erb