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.17.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.16.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.15.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.14.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.13.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.12.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.11.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.10.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.9.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.8.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.7.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.6.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.5.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.4.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.3.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.2.pre app/views/cmor/user_area/current_users/show.html.haml
cmor_user_area-0.0.1.pre app/views/cmor/user_area/current_users/show.html.haml