.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