Sha256: 2425a8b1320ca0756e85f94a0213035fd45d08cf48b2a4ebd25af2c6fda172dd

Contents?: true

Size: 887 Bytes

Versions: 6

Compression:

Stored size: 887 Bytes

Contents

.tab-content
  %h6.actions
    - if can?(Script).update?
      = link_to edit_admin_script_path(@script), title: t('keppler.actions.edit'), class: 'pull-left' do
        %i.icon-pencil
        %span= t('keppler.actions.edit')
    - if can?(Script).destroy?
      = link_to admin_script_path(@script), title: 'Delete', method: :delete, data: { confirm: t('keppler.messages.data_confirm') } do
        %i.icon-trash
        %span= t('keppler.actions.delete')
    %a.pull-right.close-index-show
      %i.icon-close
  %p.control-sidebar-heading
    %i.icon-chart
    = controller_name.singularize.humanize
  %ul.timeline
    - @script.attributes.each do |attribute, value|
      %li.list-row
        .timeline-item
          %h6.timeline-header.no-border
            %small
              %strong.display-value= t("activerecord.attributes.#{attribute}")
              %p.display-label= value

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
keppler-2.0.7 installer/core/app/views/admin/scripts/_index_show.html.haml
keppler-2.0.6 installer/core/app/views/admin/scripts/_index_show.html.haml
keppler-2.0.5 installer/core/app/views/admin/scripts/_index_show.html.haml
keppler-2.0.4.p1 installer/core/app/views/admin/scripts/_index_show.html.haml
keppler-2.0.4.pre.p1 installer/core/app/views/admin/scripts/_index_show.html.haml
keppler-2.0.4 installer/core/app/views/admin/scripts/_index_show.html.haml