Sha256: f8223dd667648c1c3debbff73168bd496a8ae7743042209234ebdfb72c9d9688
Contents?: true
Size: 781 Bytes
Versions: 4
Compression:
Stored size: 781 Bytes
Contents
= link_to({ action: :index }, class: 'btn btn-light btn-responsive') do %i.fas.fa-arrow-left %span.btn-text= t('.back') .ml-auto - if Cmor::Core.features?(:cmor_audits) && available_rest_actions.include?(:versions) = link_to([:versions, resource_namespace, resource], class: 'btn btn-secondary btn-circle btn-lg') do %i.fas.fa-history - if available_rest_actions.include?(:destroy) = link_to([resource_namespace, resource], 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([:edit, resource_namespace, resource], class: 'btn btn-success btn-circle btn-lg') do %i.fas.fa-edit
Version data entries
4 entries across 4 versions & 1 rubygems