Sha256: bdf412156b22fd734bf7b4b0c936c0245ca23543b598e27e03805d7cde4dada0

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 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 "Users", admin_users_path %></li>
  <% end %>

  <%= render "page_header_actions" do %>
    <%= link_to "Edit user", edit_admin_user_path(@admin_user), class: "btn btn-primary" %>
    <%= button_to "Delete 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-xl">
    <div class="card">
      <div class="card-header">
        <h3 class="card-title">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

4 entries across 4 versions & 1 rubygems

Version Path
administration-zero-0.0.13 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.12 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.11 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.10 lib/generators/admin/install/templates/erb/admin/users/show.html.erb