Sha256: f094677505d7bee0a64ccdaf866facc305947b707ddae036ed50e942bbba8d72

Contents?: true

Size: 974 Bytes

Versions: 16

Compression:

Stored size: 974 Bytes

Contents

<% content_for :header do %>
  <%= render Koi::Header::ShowComponent.new(resource: admin) %>
<% end %>

<%= definition_list(class: "item-table") do |builder| %>
  <%= builder.item admin, :name %>
  <%= builder.item admin, :email %>
  <%= builder.item admin, :created_at %>
  <%= builder.item admin, :last_sign_in_at, label: { text: "Last sign in" } %>
  <%= builder.item admin, :archived? %>
<% end %>

<div class="actions">
  <% if admin.archived? %>
    <%= button_to "Delete", admin_admin_user_path(admin),
                  class:  "button button--secondary",
                  method: :delete,
                  form:   { data: { turbo_confirm: "Are you sure?" } } %>
  <% end %>
</div>

<h2>Authentication</h2>

<%= render "admin/credentials/credentials", admin: %>

<% if admin == current_admin %>
  <div class="actions-group">
    <%= kpop_link_to "Add this device", new_admin_admin_user_credential_path(admin), class: "button button--primary" %>
  </div>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
katalyst-koi-4.5.0 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.5.0.beta.2 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.5.0.beta.1 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.4.1 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.4.0 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.3.5 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.3.4 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.3.3 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.3.2 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.3.1 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.3.0 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.3.0.beta.3 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.3.0.beta.2 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.2.1 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.2.0 app/views/admin/admin_users/show.html.erb
katalyst-koi-4.2.0.beta.2 app/views/admin/admin_users/show.html.erb