Sha256: 85592e18e9405ae3d7ac4b9ba33f4ddd8432ac8f9ec1fa131cd560d31b185f88

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

= form_for(@category) do |f|
	- if @category.errors.any?
		#error_explanation
			%h3 #{pluralize(@category.errors.count, "error")} prohibited this category from being saved:

			%ul
				- @category.errors.full_messages.each do |msg|
					%li= msg

	.form-group
		= f.label :title
		= f.text_field :title, class: "form-control"

	.form-group
		= f.label :description
		= f.text_area :description, rows: 5, style: "width:100%", class: "form-control"

	= f.submit "Submit", class: 'btn btn-success'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogr-0.0.8 app/views/blogr/categories/_form.html.haml
blogr-0.0.7 app/views/blogr/categories/_form.html.haml
blogr-0.0.6 app/views/blogr/categories/_form.html.haml