Sha256: fdf7e4babad1fab3756b26f8e955cbe1f56af375c48a95087f1a31f23b030bad

Contents?: true

Size: 1.47 KB

Versions: 5

Compression:

Stored size: 1.47 KB

Contents

<%= form_for(@members_main) do |f| %>

	<% if @members_main.errors.any? %>
		<div id="error_explanation">
			<h2><%= pluralize(@members_main.errors.count, "error") %> prohibited this directorylisting from being saved:</h2>
			<ul>
				<% @members_main.errors.full_messages.each do |message| %>
					<li><%= message %></li>
				<% end %>
			</ul>
		</div>
	<% end %>

	<div class="form-group">
		<label><%= f.label :mfirstname, "First Name*" %></label>
		<%= f.text_field :mfirstname, class: 'form-control', placeholder: 'Members First Name' %>
	</div>
	<div class="form-group">
		<label><%= f.label :mlastname, "Last Name*" %></label>
		<%= f.text_field :mlastname, class: 'form-control', placeholder: 'Members Last Name' %>
	</div>
	<div class="form-group">
		<label><%= f.label :mtitle, "Title" %></label>
		<%= f.text_field :mtitle, class: 'form-control', placeholder: 'Members Title' %>
	</div>
	<div class="form-group">
		<label><%= f.label :memail, "Email*" %></label>
		<%= f.text_field :memail, class: 'form-control', placeholder: 'Members Email' %>
	</div>
	<div class="form-group">
		<label><%= f.label :mphone, "Phone*" %></label>
		<%= f.text_field :mphone, class: 'form-control', placeholder: 'Members Phone' %>
	</div>
	<div class="form-group">
		<label><%= f.label :mnotes, "Member Notes (Private)" %></label>
		<%= f.text_area :mnotes, class: 'form-control', placeholder: 'Member Notes' %>
	</div>
	<div class="actions">
		<%= f.submit "Submit", class: "btn btn-primary" %>
	</div>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phcmembers-0.6.2 app/views/phcmembers/members/mains/_form.html.erb
phcmembers-0.6.1 app/views/phcmembers/members/mains/_form.html.erb
phcmembers-0.6.0 app/views/phcmembers/members/mains/_form.html.erb
phcmembers-0.5.9 app/views/phcmembers/members/mains/_form.html.erb
phcmembers-0.5.8 app/views/phcmembers/members/mains/_form.html.erb