summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/application.html.erb2
-rw-r--r--app/views/users/_form.html.erb2
-rw-r--r--app/views/users/new.html.erb2
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>