<%= form_for([@members_business.main, @members_business], url: members_main_businesses_path) do |f| %> <%= render 'phcnotifi/validations', :object => @members_business %>
<%= f.label :mbcompanyname, "Company Name" %> <%= f.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization Name" , data: {autocomplete_source: Phcmemberspro::Members::Businesses.order(:mbcompanyname).map(&:mbcompanyname)} %>
<%= f.label :mbcontactname, "Contact Name" %> <%= f.text_field :mbcontactname, class: "form-control", placeholder: "Contact Name for Business" %>
<%= f.label :mbaddressl1, "Address Line 1" %> <%= f.text_field :mbaddressl1, class: "form-control", placeholder: "Business Location: Street Address" %>
<%= f.label :mbaddressl2, "Address Line 2" %> <%= f.text_field :mbaddressl2, class: "form-control", placeholder: "Business Location: Address Line 2" %>
<%= f.label :mbcity, "City" %> <%= f.text_field :mbcity, class: "form-control", placeholder: "Business location: City" %>
<%= f.label :mbcountry, "Country" %> <%= f.text_field :mbcountry, class: "form-control", placeholder: "Busines Location: Province" %>
<%= f.label :mbpostalcode, "Postal Code" %>
<%= f.text_field :mbpostalcode, class: "form-control", placeholder: "Business Location Postal Code" %>
<%= f.label :mbphone, "Business Phone Number" %> <%= f.text_field :mbphone, class: "form-control", placeholder: "Business Phone Number" %>
<%= f.label :mbcontactemail, "Business General Email" %> <%= f.text_field :mbcontactemail, class: "form-control", placeholder: "Business Email" %>
<%= f.submit "Submit", class: "btn blue-hoki" %>
<% end %>