Packages

This is a CMS written in Elixir. Aims to be the great open-source ecommerce and/or startup solution for those who are searching for a performance and stability on top of modern technologies like React and Elixir.

Current section

Files

Jump to
lyn web templates admin user index.html.eex
Raw

web/templates/admin/user/index.html.eex

<table class="table table-hover">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Email</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<%= for user <- @users do %>
<tr>
<td><%= user.id %></td>
<td><%= user.name %></td>
<td><%= user.email %></td>
<td>
<%= link "Impersonate",
to: admin_impersonation_path(@conn, :impersonate, to_string(user.id)),
method: :post,
class: "btn btn-xs btn-warning"
%>
</td>
</tr>
<% end %>
</tbody>
</table>