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