saucy/app/views/contributions/edit.html.erb

23 lines
458 B
Plaintext

editando contriboot
<%= form_with(model: @contribution) do |form| %>
<table>
<tr>
<td>Amount</td>
<td>€<%= @contribution.eurocents %></td>
</tr>
<tr>
<td>Payment date</td>
<td>€<%= @contribution.payment_on %></td>
</tr>
<tr>
<td>Payment method</td>
<td><%= @contribution.payment_method %></td>
</tr>
<tr>
<td>Payment reference</td>
<td><%= @contribution.payment_reference %></td>
</tr>
</table>
<% end %>