Sha256: f07c00db8a9d6d3762b736da838ef89cd46db750869a6f0263d273dc95721af0

Contents?: true

Size: 1.28 KB

Versions: 57

Compression:

Stored size: 1.28 KB

Contents

%p#notice= notice

#page-title.bottom-margin-1
  .row
    .col-xs-8.col-8.mr-auto
      %h1= @resource.human
    .col-xs-4.col-4
      #page-actions.btn-container-right
        - if Cmor::UserArea::Configuration.allow_users_to_destroy_self
          .pull-right.text-right
            = link_to(cmor_user_area.current_user_path, 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
    = resource_table(resource: @resource) do |table|
      = render 'show', table: table

  .panel-footer

= render 'show_extras', resource: @resource

.well.well-sm
  .btn-group
    = link_to(cmor_user_area.user_session_path, class: 'btn btn-warning btn-responsive', method: :delete) do
      %span.glyphicon.glyphicon-pencil
      %span.btn-text= t('.sign_out')
    = link_to(cmor_user_area.edit_current_user_path, class: 'btn btn-primary btn-responsive') do
      %span.glyphicon.glyphicon-pencil
      %span.btn-text= t('.edit')
  = link_to main_app.root_path, class: 'btn btn-default btn-responsive pull-right' do
    %span.glyphicon.glyphicon-arrow-left
    %span.btn-text= t('.back')

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
cmor_user_area-0.0.38.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.37.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.36.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.35.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.34.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.33.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.32.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.31.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.30.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.29.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.28.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.27.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.26.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.25.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.24.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.22.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.21.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.20.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.19.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.18.pre app/views/cmor/user_area/current_users/show.html.haml