Sha256: 2a572947a8ac7811486e896d8a86e21a892ffe89bdc3802b5504179d2b5db94d
Contents?: true
Size: 421 Bytes
Versions: 9
Compression:
Stored size: 421 Bytes
Contents
<% if @model.has_route?(:destroy) && can?(:destroy, @model) %> <%= link_to( content_tag( :i, nil, class: 'fa fa-trash-o' ), [resource], title: I18n.t('action.delete', resource: resource.name), id: 'resource-delete', method: :delete, data: { confirm: I18n.t('action.delete_confirmation', resource: resource.name) } ) %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems