Sha256: 1dc02fb1057cedf272be4df3a8aeb53349ab00b44f9a718dd07ead00b7ce6a1b

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

= form_for [@project, @post], url: project_post_path, html:{class: "form-horizontal"} do |f|
	= form_group_for f, :title do
		.col-sm-8
			= f.text_field :title, class: "form-control"
	= form_group_for f, :content do
		.col-sm-8
			= f.text_area :content, class: "summernote"
	.form-group
		.col-sm-8.col-sm-offset-2
			= f.check_box :private
			= f.label :private
	.form-group
		.col-sm-offset-2.col-sm-10
			= f.submit "Save Post" , class: 'btn btn-success'
			= link_to "Cancel", project_post_path, class: 'btn btn-danger'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hatchy-0.0.8.pre app/views/hatchy/projects/posts/_form.html.haml