Sha256: 45095a0c200597e6ba895d3e83f82daa53198b8a9ced2b9d29c4255657dd1b9b

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

<%= render "page_header" do %>
  <%= render "page_header_breadcrumb", title: @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(@user), class: "btn btn-primary" %>
    <%= button_to "Delete user", @user, method: :delete, "data-confirm": "Are you sure?", form_class: "d-inline", class: "btn btn-white" %>
  <% 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"><%= @user.email %></dd>

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

          <dt class="col-md-3">Updated at</dt>
          <dd class="col-md-9"><%= l(@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-1.0.1 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-1.0.0 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.18 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.17 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.16 lib/generators/admin/install/templates/erb/admin/users/show.html.erb
administration-zero-0.0.15 lib/generators/admin/install/templates/erb/admin/users/show.html.erb