Sha256: 7bcbc193c1d151435c42b5b20f7ab7263b71873c19c5e4b82c50d55ffd5b2305

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

<%= form_for([@members_contact.main, @members_contact], url: members_main_contacts_path) do |f| %>
	
	<!-- PHC-Notifi Render Validation -->
	<%= render 'phcnotifi/validations', :object => @members_contact %>

	<div class="form-group field_with_errors">
		<label><%= f.label :mcaddressl1, "Address Line1" %></label>
		<%= f.text_field :mcaddressl1, class: "form-control", placeholder: "Address Line 1 - Street Address" %>
	</div>
	<div class="form-group field_with_errors">
		<label><%= f.label :mcaddressl2, "Address Line2" %></label>
		<%= f.text_field :mcaddressl2, class: "form-control", placeholder: "Address Line 2 - Box - Suite - Floor" %>
	</div>
	<div class="form-group field_with_errors">
		<label><%= f.label :mccity, "City" %></label>
		<%= f.text_field :mccity, class: "form-control", placeholder: "City" %>
	</div>
	<div class="form-group field_with_errors">
		<label><%= f.label :mcprovince, "Province/State" %></label>
		<%= f.text_field :mcprovince, class: "form-control", placeholder: "Province/State" %>
	</div>
	<div class="form-group field_with_errors">
		<label><%= f.label :mccountry, "Country" %></label>
		<%= country_select("members_contact", "mccountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
	</div>
	<div class="form-group field_with_errors">
		<label><%= f.label :mcpostalcode, "PostalCode" %></label>
		<%= f.text_field :mcpostalcode, class: "form-control", placeholder: "PostalCode" %>
	</div>
	<div class="form-group">
		<label><%= f.label :mctype, "Address Type" %></label>
		<%= f.select :mctype, [['Billing Address','Billing'],['Street Address','Street'],['Mailing Address','Mailing']], {}, class: "form-control" %>
	</div>
	<div class="actions">
		<%= f.submit "Submit", class: "btn blue-hoki" %>
	</div>

<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmemberspro-6.5.3 app/views/phcmemberspro/members/contacts/_form.html.erb