<%= form_with(model: [ @member_profile, @member_listing], url: form_url, local: true) do |form| %> <%= render "phcdevworks_notifications/bootstrap/validations", :object => @member_listing %>
<%= form.label :listing_company_name, "Company Name", class: "form-label" %> <%= form.text_field :listing_company_name, placeholder: "Business/Organization: Name", class: "form-control" %>
<%= form.label :listing_contact_name, "Contact Name", class: "form-label" %> <%= form.text_field :listing_contact_name, placeholder: "Business/Organization: Contact Person", class: "form-control" %>
<%= form.label :listing_address_line_1, "Address Line 1", class: "form-label" %> <%= form.text_field :listing_address_line_1, placeholder: "Location: Street Address", class: "form-control" %>
<%= form.label :listing_address_line_2, "Address Line 2", class: "form-label" %> <%= form.text_field :listing_address_line_2, placeholder: "Location: Box - Suite - Floor", class: "form-control" %>
<%= form.label :listing_city, "City", class: "form-label" %> <%= form.text_field :listing_city, placeholder: "Location: City", class: "form-control" %>
<%= form.label :listing_province, "Province/State", class: "form-label" %> <%= form.text_field :listing_province, placeholder: "Location: Province/State", class: "form-control" %>
<%= form.label :listing_country, "Country", class: "form-label" %> <%= form.text_field :listing_country, placeholder: "Country", class: "form-control" %>
<%= form.label :listing_postal_code, "Postal Code", class: "form-label" %> <%= form.text_field :listing_postal_code, placeholder: "Location: PostalCode", class: "form-control" %>
<%= form.label :listing_phone, "Business Phone Number", class: "form-label" %> <%= form.text_field :listing_phone, placeholder: "Business/Organization: PhoneNumber (Public)", class: "form-control" %>
<%= form.label :listing_contact_email, "Business General Email", class: "form-label" %> <%= form.text_field :listing_contact_email, placeholder: "Business/Organization: Email Address (Public)", class: "form-control" %>
<%= form.label :listing_website, "Business Website", class: "form-label" %> <%= form.text_field :listing_website, placeholder: "Business/Organization: Website (Public)", class: "form-control" %>
<%= form.collection_check_boxes :category_ids, Phcmemberspro::Directory::Category.all, :id, :category_name do |listing_category| %> <%= listing_category.check_box %> <%= listing_category.label %>
<% end %>
<%= form.submit class: "btn btn-primary btn-md" %>
<% end %>