%= form_for([@members_contact.main, @members_contact], url: members_main_contact_path, method: :patch ) do |f| %>
<% if @members_contact.errors.any? %>
<%= pluralize(@members_contact.errors.count, "error") %> prohibited this directorylisting from being saved:
<% @members_contact.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= 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" %>
<%= f.text_field :mccountry, class: "form-control", placeholder: "Mailing Country" %>
<%= f.text_field :mcpostalcode, class: "form-control", placeholder: "Mailing PostalCode" %>
<%= f.text_field :mcphone, class: "form-control", placeholder: "Contact Phone Number" %>
<%= f.text_field :mcemail, class: "form-control", placeholder: "Contact Email" %>
<%= f.submit "Submit", class: "btn btn-primary" %>
<% end %>