diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/application.html.erb | 2 | ||||
-rw-r--r-- | app/views/users/_form.html.erb | 2 | ||||
-rw-r--r-- | app/views/users/new.html.erb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index dd0ea91..cf55c18 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -18,7 +18,7 @@ <%# This is the search bar #%> <div> <%= form_tag("/search", method: "get", :class => "search") do %> - <%= text_field_tag(:query, params[:query]) %> + <%= text_field_tag(:query, params[:query], type: "search") %> <%= submit_tag("Search", :name=>nil) %> <% end %> </div> diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb index 40f8f09..1feebf8 100644 --- a/app/views/users/_form.html.erb +++ b/app/views/users/_form.html.erb @@ -8,7 +8,7 @@ <div class="field"> <%= f.label :email %><br> - <%= f.text_field :email %> + <%= f.text_field(:email, type: "email") %> </div> <div class="field"> diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 5e369ac..5c88945 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -8,7 +8,7 @@ </p> <p> <%= f.label :email %><br> - <%= f.text_field :email %> + <%= f.text_field(:email, type: "email") %> </p> <p> <%= f.label :user_name %><br> |