app/views/trade/admin/orders/_addresses.html.erb in rails_trade-0.0.2 vs app/views/trade/admin/orders/_addresses.html.erb in rails_trade-0.0.3
- old
+ new
@@ -1,11 +1,11 @@
<table class="ui table">
<thead>
<tr>
<th colspan="3">Transport Address</th>
<th colspan="3">
- <%= link_to 'New Address', new_admin_address_path(user_id: @order.user_id), remote: true, class: 'ui mini button' %>
+ <%= link_to 'New Address', new_admin_address_path(user_id: @order.user_id), class: 'ui mini button' %>
</th>
</tr>
</thead>
<tbody id="transport_addresses_tbody">
<% addresses.each do |address| %>
@@ -23,11 +23,11 @@
<%= address.area.city %>
</td>
<td><%= address.address %></td>
<td>
<%= link_to 'Show', address_path(address) %>
- <%= link_to 'Edit', edit_admin_address_path(address), remote: true %>
- <%= link_to 'Destroy', admin_address_path(address), method: :delete, remote: true, data: { confirm: t('.confirm') } %>
+ <%= link_to 'Edit', edit_admin_address_path(address) %>
+ <%= link_to 'Destroy', admin_address_path(address), method: :delete, data: { confirm: t('.confirm') } %>
</td>
</tr>
<% end %>
</tbody>
</table>