Sha256: 721a87821a0138d3750bd4faccf5b11cf42e22136676c65f3cf9feee0101f6bf

Contents?: true

Size: 829 Bytes

Versions: 18

Compression:

Stored size: 829 Bytes

Contents

<%= form_for @post_category, :url => (@post_category.new_record? ? spud_admin_post_categories_path : spud_admin_post_category_path(@post_category)), :html => {:class => 'form-horizontal spud_post_category_form'} do |f| %>

	<%= error_messages_for(f.object) %>

	<fieldset>
		<div class="control-group">
			<%= f.label :name,"Name",:class => "control-label" %>
			<div class="controls">
				<%= f.text_field :name %>
			</div>
		</div>
		<div class="control-group">
			<%= label_tag :parent,'Parent',:class => "control-label" %>
			<div class="controls">
				<select name="spud_post_category[parent_id]">
					<option value="">No Parent</option>
					<%= options_for_select(SpudPostCategory.options_for_categories(:filter => @post_category.id), @post_category.parent_id) %>
				</select>
			</div>
		</div>
	</fieldset>

<% end %>

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
spud_blog-1.0.0.rc1.1 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-1.0.0.rc1 app/views/spud/admin/post_categories/_form.html.erb
tb_blog-1.0.4 app/views/spud/admin/post_categories/_form.html.erb
tb_blog-1.0.3 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.11 app/views/spud/admin/post_categories/_form.html.erb
tb_blog-1.0.2 app/views/spud/admin/post_categories/_form.html.erb
tb_blog-1.0.1 app/views/spud/admin/post_categories/_form.html.erb
tb_blog-1.0 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.10 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.9 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.8 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.7 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.5 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.4 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.3 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.2 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.1 app/views/spud/admin/post_categories/_form.html.erb
spud_blog-0.9.0 app/views/spud/admin/post_categories/_form.html.erb