Sha256: 37182920acbe0b334a25648b73a4a39f17240768dd31e3a94b5359df5853e6d8
Contents?: true
Size: 1.42 KB
Versions: 3
Compression:
Stored size: 1.42 KB
Contents
.container .row .col-lg-2 = link_to admin_meta_tags_path, class: "", "data-position" => "bottom", "data-tooltip" => t("keppler.actions.back") do .arrow-back.btn.btn-default %i.fa.fa-angle-left = t('keppler.actions.back') .clearfix .show-section .row .col-lg-12 .box.slice-box .box-header.with-border %h3.box-title Meta tags .box-tools.pull-right - if Pundit.policy(current_user, MetaTag).update? = link_to edit_admin_meta_tag_path(@meta_tag), class: "btn btn-box-tool", title: "#{t('keppler.actions.edit') }" do %i.icon-pencil - if Pundit.policy(current_user, MetaTag).destroy? = link_to admin_meta_tag_path(@meta_tag), class: "btn btn-box-tool", title: "#{t('keppler.actions.delete')}", method: :delete, data: { confirm: t("keppler.messages.data_confirm") } do %i.icon-trash / /.box-header .box-body.box-body-no-padding %table.table.table-striped %tbody - @meta_tag.as_json(only: ["id", "title", "description", "meta_tags", "url", "created_at"], methods: [:rol]).each do |attribute, value| %tr.list-row %th.display-label= t("activerecord.attributes.meta_tag.#{attribute}") %td.display-value.fs-body-1.tc-black-2= value.to_s.humanize
Version data entries
3 entries across 3 versions & 1 rubygems