Sha256: 597408bc2c7b46dc8382af74e7225288790a5c0a46bab838fd9a407234316b97
Contents?: true
Size: 558 Bytes
Versions: 17
Compression:
Stored size: 558 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, remote: true, data: { toggle: :tooltip, placement: :left, title: I18n.t('action.delete', resource: resource.name), confirm: I18n.t('action.delete_confirmation', resource: resource.name) } ) %> <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems