Sha256: 8743f2aba1badb3c82ff9a4369941d8ed889ad29b701650c0379006ab1bfecc0

Contents?: true

Size: 667 Bytes

Versions: 5

Compression:

Stored size: 667 Bytes

Contents

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

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

	<div class="form-group">
		<label><%= f.label :catname, "Category Name" %></label>
		<%= f.text_field :catname, class: "form-control", placeholder: "Directory Category" %>
	</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/directory/categories/_form.html.erb
phcmembers-0.6.1 app/views/phcmembers/directory/categories/_form.html.erb
phcmembers-0.6.0 app/views/phcmembers/directory/categories/_form.html.erb
phcmembers-0.5.9 app/views/phcmembers/directory/categories/_form.html.erb
phcmembers-0.5.8 app/views/phcmembers/directory/categories/_form.html.erb