From c9777518e3455913389128a272e0c3e6c0a74d63 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 6 Feb 2013 09:26:46 -0500 Subject: [PATCH] Ruby 1.9 hash syntax --- app/views/admin/users/_form.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/users/_form.html.haml b/app/views/admin/users/_form.html.haml index f833c29..8684a90 100644 --- a/app/views/admin/users/_form.html.haml +++ b/app/views/admin/users/_form.html.haml @@ -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 -- libgit2 0.21.2