Sha256: ada506c434141820807bc68364097840886d5380444f276cc84bb4d35a5aa8f4

Contents?: true

Size: 781 Bytes

Versions: 6

Compression:

Stored size: 781 Bytes

Contents

.tab-content
  %h6.actions
    - if can?(Role).update?
      = link_to edit_admin_role_path(@role), title: t('keppler.actions.edit'), class: 'pull-left' do
        %i.icon-pencil
        %span= t('keppler.actions.edit')
    %a.pull-right.close-index-show
      %i.icon-close
  %h3.control-sidebar-heading
    = t("keppler.modules.#{controller_path.underscore}")
  %ul.timeline
    - @role.as_json(only: %w[name]).each do |attribute, value|
      %li.list-row
        .timeline-item
          %h6.timeline-header.no-border
            %small
              %strong.display-value= t("activerecord.attributes.#{attribute}")
              - if @attachments.include?(attribute)
                .display-label= image_tag value
              - else
                %p.display-label= value

Version data entries

6 entries across 6 versions & 1 rubygems

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