Sha256: 3a75e3dcae56facaec95de532d5860aea41eda70006d6b4bdc3f52503a3f90f4
Contents?: true
Size: 1.66 KB
Versions: 24
Compression:
Stored size: 1.66 KB
Contents
.container .row .col-lg-2 = link_to admin_languages_languages_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.p-15 .box-header.with-border %h3.box-title= t("keppler.modules.#{controller_path.underscore}") .box-tools.pull-right - if can?(KepplerLanguages::Language).update? = link_to edit_admin_languages_language_path(@language), class: "btn btn-box-tool", title: "#{t('keppler.actions.edit') }" do %i.icon-pencil - if can?(KepplerLanguages::Language).destroy? = link_to admin_languages_language_path(@language), 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 %tbody - @language.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
24 entries across 24 versions & 1 rubygems