Sha256: f7adef5c91e0191503542efcba106df8e37b250ef73db1d11f2eeff1d92bfae5
Contents?: true
Size: 1.26 KB
Versions: 25
Compression:
Stored size: 1.26 KB
Contents
.container .row .col-lg-2 = link_to admin_scripts_path, '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.p-15 .box-header.with-border %h3.box-title= t("keppler.modules.#{controller_path.underscore}") .box-tools.pull-right - if can?(Script).update? = link_to edit_admin_script_path(@script), class: 'btn btn-box-tool', title: t('keppler.actions.edit') do %i.icon-pencil - if can?(Script).destroy? = link_to admin_script_path(@script), 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.no-padding %table.table %tbody - @script.as_json(only: %w[id name script url created_at]).each do |attribute, value| %tr.list-row %th.display-label= t("activerecord.attributes.#{attribute}") %td.display-value.fs-body-1.tc-black-2= value.to_s.humanize
Version data entries
25 entries across 24 versions & 1 rubygems