Sha256: 9324f8f22fda33b51fcf8beaf23f993fa0002767905d40399c3b6fd0aa4ad6be

Contents?: true

Size: 825 Bytes

Versions: 3

Compression:

Stored size: 825 Bytes

Contents

= form_for @user do |f|

	- if @user.errors.any?
		#error_explanation
			%h3 #{pluralize(@user.errors.count, "error")} prohibited this user from being saved:

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

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

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

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

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

	.form-group
		= f.label :password
		= f.password_field :password, class: "form-control"

	.form-group
		= f.label :password_confirmation
		= f.password_field :password_confirmation, 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/users/_form.html.haml
blogr-0.0.7 app/views/blogr/users/_form.html.haml
blogr-0.0.6 app/views/blogr/users/_form.html.haml