Sha256: 3b566940dcd47ce3954102d0e7b6e43d9df7a80b4433f5118386cd095cfb5919

Contents?: true

Size: 932 Bytes

Versions: 57

Compression:

Stored size: 932 Bytes

Contents

= table.column(:actions, title: false) do |resource|
  - capture_haml do
    .w-100.d-flex
      .btn-group.ml-auto
        - if available_rest_actions.include?(:show)
          = link_to({ action: :show, id: resource.to_param }, class: 'show btn btn-xs btn-responsive btn-primary') do
            %i.fas.fa-eye
            %span.btn-text= t('.show')
        - if available_rest_actions.include?(:edit)
          = link_to({ action: :edit, id: resource.to_param }, class: 'edit btn btn-xs btn-responsive btn-secondary') do
            %i.fas.fa-edit
            %span.btn-text= t('.edit')
        - if available_rest_actions.include?(:destroy)
          = link_to(url_for({ action: :show, id: resource.to_param }), class: 'destroy btn btn-xs btn-responsive btn-danger', method: :delete, 'data-confirm': I18n.t('administrador.controller.confirmations.destroy')) do
            %i.fas.fa-fire
            %span.btn-text= t('.destroy')

Version data entries

57 entries across 57 versions & 3 rubygems

Version Path
cmor_system_backend-0.0.38.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.37.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.36.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.35.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.34.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.33.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.32.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.31.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.30.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.29.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.28.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.27.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.26.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.25.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.24.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.22.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.21.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.20.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.19.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml
cmor_system_backend-0.0.18.pre app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml