Sha256: 9c67dcbe71f8d9da2e5f32de321e53c384d4d9b25997f34b83ca4d9b7c35adf8
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
<table class="ui table"> <thead> <tr> <th colspan="3">Invoice Addresses</th> <th colspan="3"> <%= link_to 'New Address', new_admin_address_path(user_id: @order.user_id), class: 'ui mini button' %> </th> </tr> </thead> <tbody id="invoice_addresses_tbody"> <% addresses.each do |address| %> <tr id="address_<%= address.id %>"> <td> <div class="ui radio checkbox"> <%= radio_button_tag :'order[invoice_address_id]', address.id, @order.address_id == address.id, form: 'new_order' %><label></label> </div> </td> <td><%= address.contact_person %></td> <td><%= address.tel %></td> <td> <%= address.area.nation %> <%= address.area.province %> <%= address.area.city %> </td> <td><%= address.address %></td> <td> <%= 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') } %> </td> </tr> <% end %> </tbody> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.3 | app/views/trade/admin/orders/_invoice_addresses.html.erb |