Sha256: 53a2dc4c6dedd3fa00c024bdafda5800806c33c8af6337c8522355db7624a7b1
Contents?: true
Size: 1.67 KB
Versions: 20
Compression:
Stored size: 1.67 KB
Contents
.container .row .col-lg-2 = link_to admin_frontend_parameters_path, "data-position" => "bottom", "data-tooltip" => t("keppler.actions.back") do .arrow-back.btn.btn-default %i.fa.fa-angle-left = t('keppler.actions.back') .show-section .row .col-lg-12 .box.slice-box .box-header.with-border %h3.box-title= t("keppler.modules.#{controller_path.underscore}") .box-tools.pull-right - if can?(KepplerFrontend::Parameter).update? = link_to edit_admin_frontend_parameter_path(@parameter), class: "btn btn-box-tool", title: "#{t('keppler.actions.edit') }" do %i.icon-pencil - if can?(KepplerFrontend::Parameter).destroy? = link_to admin_frontend_parameter_path(@parameter), 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.box-body-no-padding %table.table.table-striped %tbody - @parameter.as_json(only: ["name", "position", "deleted_at"]).each do |attribute, value| - unless attribute.eql?('position') || attribute.eql?('deleted_at') %tr.list-row %th.display-label= t("activerecord.attributes.#{attribute}") %td.display-value.fs-body-1.tc-black-2 - if @attachments.include?(attribute) = image_tag value.url unless value.url.blank? - else = value.blank? ? '-----------' : value
Version data entries
20 entries across 20 versions & 1 rubygems