Sha256: 6edb32bdbbfbab035d0f1bd436aa8c2a529fdb7c0be05ab974f066169b2fc735

Contents?: true

Size: 303 Bytes

Versions: 6

Compression:

Stored size: 303 Bytes

Contents

<% if @model.has_route?(:edit) && can?(:update, @model) %>
  <%=
    link_to(
      content_tag(
        :i,
        nil,
        :class => 'fa fa-pencil'
      ),
      [:edit, resource],
      :title => t("action.update") + " #{resource.name}",
      data: { no_turbolink: true }
    )
  %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
adminpanel-2.2.5 app/views/shared/_edit_icon_button.html.erb
adminpanel-2.2.4 app/views/shared/_edit_icon_button.html.erb
adminpanel-2.2.3 app/views/shared/_edit_icon_button.html.erb
adminpanel-2.2.2 app/views/shared/_edit_icon_button.html.erb
adminpanel-2.2.1 app/views/shared/_edit_icon_button.html.erb
adminpanel-2.2.0 app/views/shared/_edit_icon_button.html.erb