Ruby 1.9 hash syntax

This commit is contained in:
Jon Evans 2013-02-06 09:26:46 -05:00
parent 4ce3ef41de
commit c9777518e3

View file

@ -11,17 +11,17 @@
.clearfix
= f.label :name
.input
= f.text_field :name, required: true, :autocomplete => "off"
= f.text_field :name, required: true, autocomplete: "off"
%span.help-inline * required
.clearfix
= f.label :username
.input
= f.text_field :username, required: true, :autocomplete => "off"
= f.text_field :username, required: true, autocomplete: "off"
%span.help-inline * required
.clearfix
= f.label :email
.input
= f.text_field :email, required: true, :autocomplete => "off"
= f.text_field :email, required: true, autocomplete:"off"
%span.help-inline * required
%fieldset