Sha256: d405bb1c49c53591abed6c711cb15c5677c45d40dda5da57cf83a5e34895de32
Contents?: true
Size: 627 Bytes
Versions: 52
Compression:
Stored size: 627 Bytes
Contents
= link_to({ action: :index }, class: 'btn btn-light btn-responsive') do %i.fas.fa-arrow-left %span.btn-text= t('administrador.resources_controller.base.show_actions.back') .ml-auto - if available_rest_actions.include?(:destroy) = link_to({ action: :show, id: resource.to_param }, class: 'destroy btn btn-danger btn-circle btn-lg', method: :delete, 'data-confirm': I18n.t('administrador.controller.confirmations.destroy')) do %i.fas.fa-fire - if available_rest_actions.include?(:edit) = link_to({ action: :edit, id: resource.to_param }, class: 'btn btn-success btn-circle btn-lg') do %i.fas.fa-edit
Version data entries
52 entries across 52 versions & 2 rubygems