Sha256: faa98420e160eb112242c108b80ea1ffc20561bd0510d2196693508c3552d38a
Contents?: true
Size: 1.13 KB
Versions: 5
Compression:
Stored size: 1.13 KB
Contents
%p#notice= notice #page-title.bottom-margin-1 .row .col-xs-8 %h1= @resource.try_all(*Itsf::Backend::Configuration.resource_title_methods) .col-xs-4 #page-actions.btn-container-right = link_to(resource_path(@resource), method: :delete, class: 'btn btn-danger btn-responsive', 'data-confirm': I18n.t('confirmations.delete')) do %span.glyphicon.glyphicon-fire %span.btn-text= t('.destroy') .panel.panel-default.panel-with-actions %table.table.table-striped.table-condensed.table-hover = render_resource(@resource, as: :bootstrap_attribute_table) do |table| = render 'show', table: table .panel-footer = render 'show_extras', resource: @resource .well.well-sm - begin = link_to(edit_resource_path(@resource), class: 'btn btn-primary btn-responsive') do %span.glyphicon.glyphicon-pencil %span.btn-text= t('.edit') - rescue ActionController::UrlGenerationError - begin = link_to collection_path, class: 'btn btn-default btn-responsive pull-right' do %span.glyphicon.glyphicon-arrow-left %span.btn-text= t('.back') - rescue ActionController::UrlGenerationError
Version data entries
5 entries across 5 versions & 1 rubygems