<% addresses.each do |address| %>
<%= radio_button_tag :'order[address_id]', address.id, @order.address_id == address.id, form: 'new_order' %>
|
<%= address.contact_person %> |
<%= address.tel %> |
<%= address.area.nation %>
<%= address.area.province %>
<%= address.area.city %>
|
<%= address.address %> |
<%= link_to 'Show', address_path(address) %>
<%= link_to 'Edit', edit_admin_address_path(address) %>
<%= link_to 'Destroy', admin_address_path(address), method: :delete, data: { confirm: t('.confirm') } %>
|
<% end %>