saucy/app/views/members/delete.html.erb

28 lines
1.1 KiB
Plaintext
Raw Normal View History

<p style="color: green"><%= notice %></p>
<h1><%= t('members.delete.title') %></h1>
<p><%= t('members.delete.confirmation_message') %></p>
<table>
<tr><td><%= t('members.attributes.display_name') %></td><td><%= @member.display_name %></td></tr>
<tr><td><%= t('members.attributes.email') %></td><td><%= @member.email %></td></tr>
<tr><td><%= t('members.attributes.category') %></td><td><%= @member.category %></td></tr>
<tr><td><%= t('members.attributes.identification_number') %></td><td><%= @member.identification_number %></td></tr>
<tr><td><%= t('members.attributes.address') %></td><td><%= simple_format @member.address %></td></tr>
<tr><td><%= t('members.attributes.joined_on') %></td><td><%= @member.joined_on %></td></tr>
<tr><td><%= t('members.attributes.expires_on') %></td><td><%= @member.expires_on %></td></tr>
<tr><td><%= t('members.attributes.status') %></td><td><%= @member.status %></td></tr>
</table>
<%= form_with model: @member, method: :delete do |form| %>
<div>
<%= form.submit t('members.delete.actions.submit') %>
</div>
<div>
<%= link_to t('members.delete.actions.go_back'), members_path %>
</div>
<% end %>