<%= 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 :listing_company_name, "Company Name" %> <%= phc_members_member_listings.text_field :listing_company_name, class: "form-control", placeholder: "Business/Organization: Name" %>
<%= phc_members_member_listings.label :listing_contact_name, "Contact Name" %> <%= phc_members_member_listings.text_field :listing_contact_name, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
<%= phc_members_member_listings.label :listing_address_line_1, "Address Line 1" %> <%= phc_members_member_listings.text_field :listing_address_line_1, class: "form-control", placeholder: "Location: Street Address" %>
<%= phc_members_member_listings.label :listing_address_line_2, "Address Line 2" %> <%= phc_members_member_listings.text_field :listing_address_line_2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
<%= phc_members_member_listings.label :listing_city, "City" %> <%= phc_members_member_listings.text_field :listing_city, class: "form-control", placeholder: "Location: City" %>
<%= phc_members_member_listings.label :listing_province, "Province/State" %> <%= phc_members_member_listings.text_field :listing_province, class: "form-control", placeholder: "Location: Province/State" %>
<%= phc_members_member_listings.label :listing_country, "Country" %> <%= phc_members_member_listings.text_field :listing_country, class: "form-control", placeholder: "Country" %>
<%= phc_members_member_listings.label :listing_postal_code, "Postal Code" %>
<%= phc_members_member_listings.text_field :listing_postal_code, class: "form-control", placeholder: "Location: PostalCode" %>
<%= phc_members_member_listings.label :listing_phone, "Business Phone Number" %> <%= phc_members_member_listings.text_field :listing_phone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
<%= phc_members_member_listings.label :listing_contact_email, "Business General Email" %> <%= phc_members_member_listings.text_field :listing_contact_email, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
<%= phc_members_member_listings.label :listing_website, "Business Website" %> <%= phc_members_member_listings.text_field :listing_website, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
<%= phc_members_member_listings.collection_check_boxes :category_ids, Phcmembers::Directory::Category.all, :id, :category_name 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 %>