Sha256: aea7a83caf3e3aa86f6324b11cbc8fbc5d2a5633c09a52d624d1e3fffa083c26

Contents?: true

Size: 1.39 KB

Versions: 6

Compression:

Stored size: 1.39 KB

Contents

.container
  .row
    .col-lg-2
      = link_to admin_roles_path, class: '', 'data-position' => 'bottom', 'data-tooltip' => t('keppler.actions.back') do
        .arrow-back.btn.btn-default
          %i.icon-arrow-left
          = t('keppler.actions.back')

  .show-section
    .row
      .col-lg-12
        .box.slice-box
          .box-header.with-border
            %h3.box-title= t("keppler.modules.#{controller_path.underscore}")
            .box-tools.pull-right
              - if can?(Role).update?
                = link_to edit_admin_role_path(@role), class: 'btn btn-box-tool', title: t('keppler.actions.edit') do
                  %i.icon-pencil
              - if can?(Role).destroy?
                = link_to admin_role_path(@role), class: 'btn btn-box-tool', title: t('keppler.actions.delete'), method: :delete, data: { confirm: t('keppler.messages.data_confirm') } do
                  %i.icon-trash
          .box-body.box-body-no-padding
            %table.table.table-striped
              %tbody
                - @role.as_json(only: %w[name]).each do |attribute, value|
                  %tr.list-row
                    %th.display-label= t("activerecord.attributes.#{attribute}")
                    %td.display-value.fs-body-1.tc-black-2
                      - if @attachments.include?(attribute)
                        = image_tag value
                      - else
                        = value

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
keppler-2.0.7 installer/core/app/views/admin/roles/show.html.haml
keppler-2.0.6 installer/core/app/views/admin/roles/show.html.haml
keppler-2.0.5 installer/core/app/views/admin/roles/show.html.haml
keppler-2.0.4.p1 installer/core/app/views/admin/roles/show.html.haml
keppler-2.0.4.pre.p1 installer/core/app/views/admin/roles/show.html.haml
keppler-2.0.4 installer/core/app/views/admin/roles/show.html.haml