%= form_for([@members_contact.main, @members_contact], url: members_main_contact_path, method: :patch ) do |f| %>
<%= render 'layouts/phcnotifi/components/validations', :object => @members_contact %>
<%= f.text_field :mccontactname, class: "form-control", placeholder: "Mailing Contact Name" %>
<%= f.text_field :mccompanyname, class: "form-control", placeholder: "Company Name" %>
<%= f.text_field :mcaddressl1, class: "form-control", placeholder: "Mailing Street Address" %>
<%= f.text_field :mcaddressl2, class: "form-control", placeholder: "Mailing Address POBox" %>
<%= f.text_field :mccity, class: "form-control", placeholder: "Mailing City" %>
<%= f.text_field :mcprovince, class: "form-control", placeholder: "Mailing Province or State" %>
<%= country_select("members_contact", "mccountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
<%= f.text_field :mcpostalcode, class: "form-control", placeholder: "Mailing PostalCode" %>
<%= f.text_field :mcphone, class: "form-control masked", placeholder: "Contact Phone Number", data: {format: '(999) 999-9999', placeholder: 'x'} %>
<%= f.text_field :mcemail, class: "form-control", placeholder: "Contact Email" %>
<%= f.submit "Submit", class: "btn btn-primary" %>
<% end %>