Sha256: 27e3c80a80980cd2c4e901ff6e9ce14630aa2362950fc9eb2dafda55f90763ab

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 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, "Mailing Address Line1" %></label>
		<%= f.text_field :mcaddressl1, class: "form-control", placeholder: "Mailing Street Address" %>
	</div>
	<div class="form-group field_with_errors">
		<label><%= f.label :mcaddressl2, "Mailing Address Line2" %></label>
		<%= f.text_field :mcaddressl2, class: "form-control", placeholder: "Mailing Address POBox" %>
	</div>
	<div class="form-group field_with_errors">
		<label><%= f.label :mccity, "City" %></label>
		<%= f.text_field :mccity, class: "form-control", placeholder: "Mailing City" %>
	</div>
	<div class="form-group field_with_errors">
		<label><%= f.label :mcprovince, "Province or State" %></label>
		<%= f.text_field :mcprovince, class: "form-control", placeholder: "Mailing Province or 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: "Mailing 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

3 entries across 3 versions & 1 rubygems

Version Path
phcmemberspro-5.1.2 app/views/phcmemberspro/members/contacts/_form.html.erb
phcmemberspro-5.1.1 app/views/phcmemberspro/members/contacts/_form.html.erb
phcmemberspro-5.1.0 app/views/phcmemberspro/members/contacts/_form.html.erb