Sha256: 55a7b226b76a981d90f1aa21df5c89844da4d81fa5a1f15fdc700cb9736059c0

Contents?: true

Size: 575 Bytes

Versions: 5

Compression:

Stored size: 575 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 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

5 entries across 5 versions & 1 rubygems

Version Path
cmor_core_backend-0.0.5.pre app/views/cmor/core/backend/delayed_backend_active_record_jobs~/_show_actions.html.haml
cmor_core_backend-0.0.4.pre app/views/cmor/core/backend/delayed_backend_active_record_jobs~/_show_actions.html.haml
cmor_core_backend-0.0.3.pre app/views/cmor/core/backend/delayed_backend_active_record_jobs~/_show_actions.html.haml
cmor_core_backend-0.0.2.pre app/views/cmor/core/backend/delayed_backend_active_record_jobs~/_show_actions.html.haml
cmor_core_backend-0.0.1.pre app/views/cmor/core/backend/delayed_backend_active_record_jobs~/_show_actions.html.haml