%= form_for([@members_listing.main, @members_listing], url: members_main_listings_path) do |f| %>
<%= render 'phcnotifi/validations', :object => @members_listing %>
<%= f.text_field :mlcontactname, class: 'form-control', placeholder: 'Contact Name for Company' %>
<%= f.text_field :mlcompanyname, class: "form-control", placeholder: "Company Name", data: {autocomplete_source: Phcmemberspro::Members::Listing.order(:mlcompanyname).map(&:mlcompanyname)} %>
<%= f.text_field :mladdressl1, class: 'form-control', placeholder: 'Main Street Address' %>
<%= f.text_field :mladdressl2, class: 'form-control', placeholder: 'Adress Info Like Box or POBox Number' %>
<%= f.text_field :mlcity, class: 'form-control', placeholder: 'City' %>
<%= f.text_field :mlprovince, class: 'form-control', placeholder: 'Province or State' %>
<%= country_select("members_listing", "mlcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
<%= f.text_field :mlpostalcode, class: 'form-control', placeholder: 'PostalCode' %>
<%= f.text_field :mlphone, class: "form-control masked", placeholder: "General Company Phone Number", data: {format: '(999) 999-9999', placeholder: 'x'} %>
<%= f.text_field :mlwebsite, class: 'form-control', placeholder: 'Company Website' %>
<%= f.text_field :mlemail, class: 'form-control', placeholder: 'Company General Email' %>
<%= f.submit "Submit", class: "btn btn-primary" %>
<% end %>