Sha256: 32d35e20d7968c71980d23d8990439735bbe82eaa4d4ca9aab6e96db00ecfaac

Contents?: true

Size: 548 Bytes

Versions: 15

Compression:

Stored size: 548 Bytes

Contents

= render "layouts/manage/page_title", title: @user.email do
  .btn-group
    = link_to 'Edit', edit_manage_admin_path(@user), class: 'btn btn-sm btn-outline-secondary'
    = link_to 'Delete', manage_admin_path(@user), method: :delete, data: { confirm: "Are you sure? #{@user.email} will be permanently deleted. This action is irreversible." }, class: 'btn btn-sm btn-outline-secondary'

%div
  %p
    %b Email address:
    = @user.email

  %p
    %b Role:
    = @user.role.titleize

  %p
    %b Registered:
    = display_datetime(@user.created_at)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hackathon_manager-0.14.1 app/views/manage/admins/show.html.haml
hackathon_manager-0.14.0 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.12 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.11 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.10 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.9 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.8 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.7 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.6 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.5 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.4 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.3 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.2 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.1 app/views/manage/admins/show.html.haml
hackathon_manager-0.13.0 app/views/manage/admins/show.html.haml