<%= form_for([@member_listing.profile, @member_listing], url: form_url) do |phc_members_pro_member_listings| %> <%= render 'phcnotifi/validations', :object => @member_listing %>
<%= phc_members_pro_member_listings.label :listing_companyname, "Company Name" %> <%= phc_members_pro_member_listings.text_field :listing_companyname, class: "form-control", placeholder: "Business/Organization: Name" %>
<%= phc_members_pro_member_listings.label :listing_contactname, "Contact Name" %> <%= phc_members_pro_member_listings.text_field :listing_contactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
<%= phc_members_pro_member_listings.label :listing_addressl1, "Address Line 1" %> <%= phc_members_pro_member_listings.text_field :listing_addressl1, class: "form-control", placeholder: "Location: Street Address" %>
<%= phc_members_pro_member_listings.label :listing_addressl2, "Address Line 2" %> <%= phc_members_pro_member_listings.text_field :listing_addressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
<%= phc_members_pro_member_listings.label :listing_city, "City" %> <%= phc_members_pro_member_listings.text_field :listing_city, class: "form-control", placeholder: "Location: City" %>
<%= phc_members_pro_member_listings.label :listing_province, "Province/State" %> <%= phc_members_pro_member_listings.text_field :listing_province, class: "form-control", placeholder: "Location: Province/State" %>
<%= phc_members_pro_member_listings.label :listing_country, "Country" %> <%= phc_members_pro_member_listings.text_field :listing_country, class: "form-control", placeholder: "Country" %>
<%= phc_members_pro_member_listings.label :listing_postalcode, "Postal Code" %>
<%= phc_members_pro_member_listings.text_field :listing_postalcode, class: "form-control", placeholder: "Location: PostalCode" %>
<%= phc_members_pro_member_listings.label :listing_phone, "Business Phone Number" %> <%= phc_members_pro_member_listings.text_field :listing_phone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
<%= phc_members_pro_member_listings.label :listing_contactemail, "Business General Email" %> <%= phc_members_pro_member_listings.text_field :listing_contactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
<%= phc_members_pro_member_listings.label :listing_website, "Business Website" %> <%= phc_members_pro_member_listings.text_field :listing_website, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
<%= phc_members_pro_member_listings.collection_check_boxes :category_ids, Phcmemberspro::Directory::Category.where(org_id: current_user.org_id), :id, :catname do |listing_category| %> <%= listing_category.check_box %> <%= listing_category.label %>
<% end %>

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

<% end %>