<%= form_with(model: [ @member_profile, @member_address], url: form_url, local: true) do |form| %> <%= render "phcdevworks_notifications/bootstrap/validations", :object => @member_address %>
<%= form.label :address_line_1, "Address Line1" %> <%= form.text_field :address_line_1, placeholder: "Address Line 1 - Street Address", class: "form-control" %>
<%= form.label :address_line_2, "Address Line2" %> <%= form.text_field :address_line_2, placeholder: "Address Line 2 - Box - Suite - Floor", class: "form-control" %>
<%= form.label :address_city, "City" %> <%= form.text_field :address_city, placeholder: "City", class: "form-control" %>
<%= form.label :address_province, "Province/State" %> <%= form.text_field :address_province, placeholder: "Province/State", class: "form-control" %>
<%= form.label :address_country, "Country" %> <%= form.text_field :address_country, placeholder: "Country", class: "form-control" %>
<%= form.label :address_postal_code, "PostalCode" %> <%= form.text_field :address_postal_code, placeholder: "PostalCode", class: "form-control" %>
<%= form.label :address_type, "Address Type" %> <%= form.select( :address_type, [["Billing Address","Billing"],["Street Address","Street"],["Mailing Address","Mailing"],["Home Address","Home"],["Business Address","Business"]], {}, {class: "form-control"}) %>
<%= form.submit class: "btn btn-primary" %>
<% end %>