Sha256: 525fc380c89e91b002ef0c5b46060ec39430324f591cceea4bd6434f5a0e52cd

Contents?: true

Size: 536 Bytes

Versions: 4

Compression:

Stored size: 536 Bytes

Contents

= link_to({ action: :index }, class: 'btn btn-light btn-circle btn-lg') do
  %i.fas.fa-arrow-left

.ml-auto
  - 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

Version Path
administrador-0.0.32.pre app/views/administrador/resources_controller/base/_show_actions.html.haml
administrador-0.0.31.pre app/views/administrador/resources_controller/base/_show_actions.html.haml
administrador-0.0.30.pre app/views/administrador/resources_controller/base/_show_actions.html.haml
administrador-0.0.29.pre app/views/administrador/resources_controller/base/_show_actions.html.haml