Sha256: 15e71764a0d7c8e08385c644ec6fb16f66973288eb7268682522574adde846d0

Contents?: true

Size: 1.83 KB

Versions: 43

Compression:

Stored size: 1.83 KB

Contents

<%= form_for([@member_address.profile, @member_address], url: form_url) do |f| %>

	<!-- PHC-Notifi Render Validation -->
	<%= render 'phcnotifi/validations', :object => @member_address %>

	<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("member_address", "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'],['Home Address','Home'],['Business Address','Business']], {}, class: "form-control" %>
	</div>

	<div class="actions">
		<%= f.submit class: "btn btn-primary" %>
	</div>

<% end %>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
phcmembers-7.0.3 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-7.0.2 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-7.0.1 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-7.0.0 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.7.5 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.7.4 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.7.3 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.7.2 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.7.1 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.7.0 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.5.1 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.5.0 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.4.1 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.4.0 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.3.5 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.3.4 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.3.3 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.3.2 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.3.1 app/views/phcmembers/member/addresses/_form.html.erb
phcmembers-6.3.0 app/views/phcmembers/member/addresses/_form.html.erb