Sha256: 74b7b4bafb43f55466363ec8f896115d353ad9e2405fb63ee221900d45068dd2

Contents?: true

Size: 693 Bytes

Versions: 17

Compression:

Stored size: 693 Bytes

Contents

<%= content_for :data_controls do %>
  <%= link_to 'Edit', edit_admin_user_path(@user), :class => 'btn btn-primary admin-user-edit-btn', :title => "Edit" %>
<% end %>

<dl class="dl-horizontal">
  <% if !Spud::Core.config.use_email_as_login %>
    <dt>Login</dt>
    <dd><%= @user.login %></dd>
  <% end %>
  <dt>Email</dt>
  <dd><%= mail_to @user.email %></dd>
  <dt>Last Login</dt>
  <dd><%= timestamp @user.last_login_at %></dd>
  <dt>Created At</dt>
  <dd><%= timestamp @user.created_at %></dd>
  <dt>Role:</dt>
  <dd><%= @user.role.blank? ? 'None' : @user.role.name %></dd>
  <dt>Super Admin?<dt>
  <dd><%= @user.super_admin? ? 'Yes' : 'No' %></dd>
  <%= render 'show_additions' %>
</dl>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tb_core-1.4.2 app/views/admin/users/show.html.erb
tb_core-1.4.1 app/views/admin/users/show.html.erb
tb_core-1.4.0.1 app/views/admin/users/show.html.erb
tb_core-1.4.beta2 app/views/admin/users/show.html.erb
tb_core-1.4.beta1 app/views/admin/users/show.html.erb
tb_core-1.3.10 app/views/admin/users/show.html.erb
tb_core-1.3.9 app/views/admin/users/show.html.erb
tb_core-1.3.7 app/views/admin/users/show.html.erb
tb_core-1.3.6 app/views/admin/users/show.html.erb
tb_core-1.3.5 app/views/admin/users/show.html.erb
tb_core-1.3.4 app/views/admin/users/show.html.erb
tb_core-1.3.3 app/views/admin/users/show.html.erb
tb_core-1.3.2 app/views/admin/users/show.html.erb
tb_core-1.3.1 app/views/admin/users/show.html.erb
tb_core-1.3.0 app/views/admin/users/show.html.erb
tb_core-1.3.0.beta2 app/views/admin/users/show.html.erb
tb_core-1.3.0.beta1 app/views/admin/users/show.html.erb