evodata/app/views/users/_user.html.erb
2022-01-22 18:30:59 +01:00

8 lines
345 B
Plaintext

<div id="<%= dom_id user %>">
<% if action_name != "show" %>
<%= link_to "Show this user", user, class: "rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
<%= link_to 'Edit this user', edit_user_path(user), class: "rounded-lg py-3 ml-2 px-5 bg-gray-100 inline-block font-medium" %>
<hr class="mt-6">
<% end %>
</div>