<%= form_for([@member_listing.profile, @member_listing], url: form_url) do |phc_members_member_listings| %> <%= render 'phcnotifi/validations', :object => @member_listing %>
<%= phc_members_member_listings.label :mbcompanyname, "Company Name" %> <%= phc_members_member_listings.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization: Name" %>
<%= phc_members_member_listings.label :mbcontactname, "Contact Name" %> <%= phc_members_member_listings.text_field :mbcontactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
<%= phc_members_member_listings.label :mbaddressl1, "Address Line 1" %> <%= phc_members_member_listings.text_field :mbaddressl1, class: "form-control", placeholder: "Location: Street Address" %>
<%= phc_members_member_listings.label :mbaddressl2, "Address Line 2" %> <%= phc_members_member_listings.text_field :mbaddressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
<%= phc_members_member_listings.label :mbcity, "City" %> <%= phc_members_member_listings.text_field :mbcity, class: "form-control", placeholder: "Location: City" %>
<%= phc_members_member_listings.label :mbprovince, "Province/State" %> <%= phc_members_member_listings.text_field :mbprovince, class: "form-control", placeholder: "Location: Province/State" %>
<%= phc_members_member_listings.label :mbcountry, "Country" %> <%= country_select("member_listing", "mbcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
<%= phc_members_member_listings.label :mbpostalcode, "Postal Code" %>
<%= phc_members_member_listings.text_field :mbpostalcode, class: "form-control", placeholder: "Location: PostalCode" %>
<%= phc_members_member_listings.label :mbphone, "Business Phone Number" %> <%= phc_members_member_listings.text_field :mbphone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
<%= phc_members_member_listings.label :mbcontactemail, "Business General Email" %> <%= phc_members_member_listings.text_field :mbcontactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
<%= phc_members_member_listings.label :mbwebsite, "Business Website" %> <%= phc_members_member_listings.text_field :mbwebsite, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
<%= phc_members_member_listings.collection_check_boxes :category_ids, Phcmembers::Directory::Category.all, :id, :catname do |listing_category| %> <%= listing_category.check_box %> <%= listing_category.label %>
<% end %>

<%= phc_members_member_listings.submit class: "btn btn-primary btn-gradient waves-effect waves-light btn-md" %>

<% end %>