aboutsummaryrefslogtreecommitdiff
path: root/app/views/searches/_form.html.erb
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-15 10:23:18 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-15 10:23:18 +0100
commite46f849f1f8b3e2a002ac3b124331011a86f9ea3 (patch)
treed52ae325f2ccd988564979edb24cb824d94d276a /app/views/searches/_form.html.erb
parenta78ecb33ff5cba87b96f44b5ce42e9fce24f7a93 (diff)
downloadoperum-e46f849f1f8b3e2a002ac3b124331011a86f9ea3.tar.gz
operum-e46f849f1f8b3e2a002ac3b124331011a86f9ea3.zip
Added the 'autocapitalize' attribute
I did not bother with this attribute before, but it makes a lot of sense in some inputs. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app/views/searches/_form.html.erb')
-rw-r--r--app/views/searches/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/searches/_form.html.erb b/app/views/searches/_form.html.erb
index c940fe2..15b5735 100644
--- a/app/views/searches/_form.html.erb
+++ b/app/views/searches/_form.html.erb
@@ -5,7 +5,7 @@
<div id="search_form">
<div id="search-form-name" class="hidden">
<%= form.label :name %>
- <%= form.text_field :name, required: true, autocomplete: 'off' %>
+ <%= form.text_field :name, required: true, autocomplete: 'off', autocapitalize: 'on' %>
</div>
<div>