17 lines
573 B
Text
17 lines
573 B
Text
<div id="<%= dom_id member %>">
|
|
<p class="my-5">
|
|
<strong class="block font-medium mb-1">Name:</strong>
|
|
<%= member.name %>
|
|
</p>
|
|
|
|
<p class="my-5">
|
|
<strong class="block font-medium mb-1">Pays:</strong>
|
|
<%= member.pays %>
|
|
</p>
|
|
|
|
<% if action_name != "show" %>
|
|
<%= link_to "Show this member", member, class: "rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
|
<%= link_to 'Edit this member', edit_member_path(member), class: "rounded-lg py-3 ml-2 px-5 bg-gray-100 inline-block font-medium" %>
|
|
<hr class="mt-6">
|
|
<% end %>
|
|
</div>
|