Sha256: acb936d127736ba5d9bb50d59ed92d2df7b4af09d90b9684122b8a8013eb7a7f

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

<%= render "page_header" do %>
  <%= render "page_header_breadcrumb", title: @admin_user.email do %>
    <li class="breadcrumb-item"><%= link_to "Admin", admin_path %></li>
    <li class="breadcrumb-item"><%= link_to "Admin users", admin_users_path %></li>
  <% end %>

  <%= render "page_header_actions" do %>
    <%= link_to "Edit admin user", edit_admin_user_path(@admin_user), class: "btn btn-primary" %>
    <%= button_to "Delete admin user", @admin_user, method: :delete, data: { confirm: "Are you sure ?" }, form_class: "d-inline", class: "btn btn-light" %>
  <% end %>
<% end %>

<div class="page-body">
  <div class="container-fluid">
    <div class="card">
      <div class="card-header">
        <h3 class="card-title">Admin user details</h3>
      </div>
      <div class="card-body">
        <dl class="row">
          <dt class="col-md-3">Email</dt>
          <dd class="col-md-9"><%= @admin_user.email %></dd>

          <dt class="col-md-3">Created at</dt>
          <dd class="col-md-9"><%= l(@admin_user.created_at, format: :long) %></dd>

          <dt class="col-md-3">Updated at</dt>
          <dd class="col-md-9"><%= l(@admin_user.updated_at, format: :long) %></dd>
        </dl>
      </div>
    </div>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
administration-zero-0.0.6 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.5 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.4 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.3 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.2 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.1 lib/generators/admin/install/templates/erb/admin/users/show.html.erb