Sha256: e0bb5e02f555c67447cde5fb830c19bc442b014d5ed470907065d4ec979eb6f5

Contents?: true

Size: 1.79 KB

Versions: 20

Compression:

Stored size: 1.79 KB

Contents

.container
  .row
    .col-lg-2
      = link_to admin_frontend_callback_functions_path, "data-position" => "bottom", "data-tooltip" => t("keppler_frontend.actions.back") do
        .arrow-back.btn.btn-default
          %i.fa.fa-angle-left
          = t('keppler_frontend.actions.back')

  .show-section
    .row
      .col-lg-12
        .box.slice-box.p-15
          .box-header.with-border
            %h3.box-title= t("keppler_frontend.modules.#{controller_path.underscore}")
            .box-tools.pull-right
              - if can?(KepplerFrontend::CallbackFunction).update?
                = link_to edit_admin_frontend_callback_function_path(@callback_function), class: "btn btn-box-tool", title: "#{t('keppler_frontend.actions.edit') }" do
                  %i.icon-pencil
              - if can?(KepplerFrontend::CallbackFunction).destroy?
                = link_to admin_frontend_callback_function_path(@callback_function), class: "btn btn-box-tool", title: "#{t('keppler_frontend.actions.delete')}", method: :delete, data: { confirm: t("keppler_frontend.messages.data_confirm") } do
                  %i.icon-trash
          .box-body.box-body-no-padding
            %table.table
              %tbody
                - @callback_function.as_json(only: ["name", "description", "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

Version Path
keppler-2.1.18 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.17 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.16 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.15 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.14 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.13 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.12 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.11 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.10 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.9 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.8 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.7 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.6 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.5 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.4 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.3 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.2 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1.pre.p1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml
keppler-2.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml