Sha256: 0e08e7d9924586dcec01643f442663a37e5393fcb5eff0ab4536d5a8b62c4583

Contents?: true

Size: 923 Bytes

Versions: 26

Compression:

Stored size: 923 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({ 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

26 entries across 26 versions & 1 rubygems

Version Path
administrador-0.0.28.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.27.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.26.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.25.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.24.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.22.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.21.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.20.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.18.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.17.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.16.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.15.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.14.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.13.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.12.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.11.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.10.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.9.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.8.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~
administrador-0.0.7.pre app/views/administrador/resources_controller/base/_index_table_actions.html.haml~