Sha256: 1cef05b51104f0d5d8a034bb55547ee4d992d719b4aa8939084d0005836ba0b9

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

.tab-content
  %h6.actions
    - if Pundit.policy(current_user, MetaTag).update?
      = link_to edit_admin_meta_tag_path(@meta_tag), title: t("keppler.actions.edit"), class: 'pull-left' do
        %i.icon-pencil
        %span= t('keppler.actions.edit')
    - if Pundit.policy(current_user, MetaTag).destroy?
      = link_to admin_meta_tag_path(@meta_tag), class: 'new-menu', title: 'Delete', method: :delete, data: { confirm: t("keppler.messages.data_confirm") } do
        %i.icon-trash
        %span= t('keppler.actions.delete')
    %a#close-index-show.pull-right
      %i.icon-close
  %p.control-sidebar-heading
    %i.icon-graph
    = controller_name.singularize.humanize
  %ul.timeline
    - @meta_tag.attributes.each do |attribute, value|
      %li.list-row
        .timeline-item
          %h6.timeline-header.no-border
            %small
              %strong.display-value= t("activerecord.attributes.#{attribute}")
              %p.display-label= value
:coffee
  $('#close-index-show').click ->
    $('#index-show').css 'right', -$('#index-show').outerWidth()

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
keppler-2.0.2 installer/core/app/views/admin/meta_tags/_index_show.html.haml
keppler-2.0.1 installer/core/app/views/admin/meta_tags/_index_show.html.haml
keppler-2.0.0 installer/core/app/views/admin/meta_tags/_index_show.html.haml