Sha256: 3b1d9adeb88acf68e069022f156e9172add2ba3ddcd6d3f5b45e4242d4b585fc

Contents?: true

Size: 613 Bytes

Versions: 3

Compression:

Stored size: 613 Bytes

Contents

- content_for :toolbar do
  = link_to edit_hq_admin_path(@admin ), class: 'btn btn-default' do
    %i.icon-pencil
    = t('action_button.edit')
.panel.panel-default
  .panel-heading
    %i.icon-edit.icon-large
    = t('tt.show', resource_name: Admin.model_name.human)
  .panel-body
    = show_for @admin do |s|
      = s.attribute :name
      = s.attribute :surname
      = s.attribute :email do
        = mail_to @admin.email, @admin.email
      = s.attribute :is_active
      = s.attribute :current_sign_in_at
      = s.attribute :last_sign_in_at
      = s.attribute :created_at
      = s.attribute :updated_at

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cybele-1.9.2 templates/app/views/hq/admins/show.html.haml
cybele-1.9.1 templates/app/views/hq/admins/show.html.haml
cybele-1.9.0 templates/app/views/hq/admins/show.html.haml