Sha256: fce5f1bc4b2db3ea95116b9b44882f3ad29e2068e590fd42d1d1bf15d897b04b
Contents?: true
Size: 160 Bytes
Versions: 1
Compression:
Stored size: 160 Bytes
Contents
- if can? :destroy, resource = link_to th('#destroy.button'), [resource], method: :delete, class: 'btn btn-danger', data: { confirm: th('#destroy.confirm') }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
billet-0.0.1 | lib/generators/billet/namespace/templates/views/crud_views/application/_button_destroy.html.haml |