From 2b16123a4f5b62db1a922b0692727f2eb58299b6 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 29 Sep 2014 10:45:08 -0400 Subject: [PATCH] fixed field type error on user edit form --- app/views/users/edit.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 82166dbf..069a28a4 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -15,8 +15,10 @@
<%= @user.name %>
-
<%= form.label :name, "Name:", :class => "firstFieldText" %> - <%= form.email_field :name %>
+
+ <%= form.label :name, "Name:", :class => "firstFieldText" %> + <%= form.text_field :name %> +
<%= form.label :email, "Email:", :class => "firstFieldText" %> <%= form.email_field :email %>
Change Password