Skip to content

Commit 01abce0

Browse files
committed
Set spellcheck="false" on input fields.
1 parent 4633f09 commit 01abce0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

views/index.erb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,31 @@
4343
<%- if (!$enabled_services || $enabled_services.include?("youtube")) && ENV["GOOGLE_API_KEY"] -%>
4444
<form class="input-group" method="get" action="youtube">
4545
<span class="input-group-text"><label for="youtube_q">YouTube</label></span>
46-
<input class="form-control" type="search" name="q" id="youtube_q" placeholder="Enter a YouTube channel name, channel id, or a url to a channel or video." required>
46+
<input class="form-control" type="search" name="q" id="youtube_q" placeholder="Enter a YouTube channel name, channel id, or a url to a channel or video." spellcheck="false" required>
4747
<input class="btn btn-primary" type="submit" value="Get RSS Feed">
4848
</form>
4949
<%- end -%>
5050

5151
<%- if (!$enabled_services || $enabled_services.include?("vimeo")) && ENV["VIMEO_ACCESS_TOKEN"] -%>
5252
<form class="input-group" method="get" action="vimeo">
5353
<span class="input-group-text"><label for="vimeo_q">Vimeo</label></span>
54-
<input class="form-control" type="search" name="q" id="vimeo_q" placeholder="Enter a Vimeo channel name, video id, or a url to a channel or video." required>
54+
<input class="form-control" type="search" name="q" id="vimeo_q" placeholder="Enter a Vimeo channel name, video id, or a url to a channel or video." spellcheck="false" required>
5555
<input class="btn btn-primary" type="submit" value="Get RSS Feed">
5656
</form>
5757
<%- end -%>
5858

5959
<%- if !$enabled_services || $enabled_services.include?("instagram") -%>
6060
<form class="input-group" method="get" action="instagram">
6161
<span class="input-group-text"><label for="instagram_q">Instagram</label></span>
62-
<input class="form-control" type="search" name="q" id="instagram_q" placeholder="Enter an Instagram username or a url to a user or post." required>
62+
<input class="form-control" type="search" name="q" id="instagram_q" placeholder="Enter an Instagram username or a url to a user or post." spellcheck="false" required>
6363
<input class="btn btn-primary" type="submit" value="Get RSS Feed">
6464
</form>
6565
<%- end -%>
6666

6767
<%- if (!$enabled_services || $enabled_services.include?("soundcloud")) && ENV["SOUNDCLOUD_CLIENT_ID"] && ENV["SOUNDCLOUD_CLIENT_SECRET"] -%>
6868
<form class="input-group" method="get" action="soundcloud">
6969
<span class="input-group-text"><label for="soundcloud_q">SoundCloud</label></span>
70-
<input class="form-control" type="search" name="q" id="soundcloud_q" placeholder="Enter a SoundCloud username or a url to a user or track." required>
70+
<input class="form-control" type="search" name="q" id="soundcloud_q" placeholder="Enter a SoundCloud username or a url to a user or track." spellcheck="false" required>
7171
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
7272
<div class="dropdown-menu dropdown-menu-end">
7373
<a class="dropdown-item" data-download target="_blank">Download track</a>
@@ -80,15 +80,15 @@
8080
<%- if !$enabled_services || $enabled_services.include?("mixcloud") -%>
8181
<form class="input-group" method="get" action="mixcloud">
8282
<span class="input-group-text"><label for="mixcloud_q">Mixcloud</label></span>
83-
<input class="form-control" type="search" name="q" id="mixcloud_q" placeholder="Enter a Mixcloud username or a url to a user or track." required>
83+
<input class="form-control" type="search" name="q" id="mixcloud_q" placeholder="Enter a Mixcloud username or a url to a user or track." spellcheck="false" required>
8484
<input class="btn btn-primary" type="submit" value="Get RSS Feed">
8585
</form>
8686
<%- end -%>
8787

8888
<%- if (!$enabled_services || $enabled_services.include?("twitch")) && ENV["TWITCH_CLIENT_ID"] -%>
8989
<form class="input-group" method="get" action="twitch">
9090
<span class="input-group-text"><label for="twitch_q">Twitch</label></span>
91-
<input class="form-control" type="search" name="q" id="twitch_q" placeholder="Enter a Twitch username, a url to a user, video or game." required>
91+
<input class="form-control" type="search" name="q" id="twitch_q" placeholder="Enter a Twitch username, a url to a user, video or game." spellcheck="false" required>
9292
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
9393
<div class="dropdown-menu dropdown-menu-end">
9494
<%- if ENV["TWITCHTOKEN_CLIENT_ID"] -%>
@@ -105,31 +105,31 @@
105105
<%- if !$enabled_services || $enabled_services.include?("speedrun") -%>
106106
<form class="input-group" method="get" action="speedrun">
107107
<span class="input-group-text"><label for="speedrun_q">Speedrun</label></span>
108-
<input class="form-control" type="search" name="q" id="speedrun_q" placeholder="Enter a game name or a speedrun.com url." required>
108+
<input class="form-control" type="search" name="q" id="speedrun_q" placeholder="Enter a game name or a speedrun.com url." spellcheck="false" required>
109109
<input class="btn btn-primary" type="submit" value="Get RSS Feed">
110110
</form>
111111
<%- end -%>
112112

113113
<%- if !$enabled_services || $enabled_services.include?("dailymotion") -%>
114114
<form class="input-group" method="get" action="dailymotion">
115115
<span class="input-group-text"><label for="dailymotion_q">Dailymotion</label></span>
116-
<input class="form-control" type="search" name="q" id="dailymotion_q" placeholder="Enter a Dailymotion channel name or a url." required>
116+
<input class="form-control" type="search" name="q" id="dailymotion_q" placeholder="Enter a Dailymotion channel name or a url." spellcheck="false" required>
117117
<input class="btn btn-primary" type="submit" value="Get RSS Feed">
118118
</form>
119119
<%- end -%>
120120

121121
<%- if (!$enabled_services || $enabled_services.include?("imgur")) && ENV["IMGUR_CLIENT_ID"] -%>
122122
<form class="input-group" method="get" action="imgur">
123123
<span class="input-group-text"><label for="imgur_q">Imgur</label></span>
124-
<input class="form-control" type="search" name="q" id="imgur_q" placeholder="Enter a Imgur username or a url. Or subreddit url." required>
124+
<input class="form-control" type="search" name="q" id="imgur_q" placeholder="Enter a Imgur username or a url. Or subreddit url." spellcheck="false" required>
125125
<input class="btn btn-primary" type="submit" value="Get RSS Feed">
126126
</form>
127127
<%- end -%>
128128

129129
<%- if !$enabled_services || $enabled_services.include?("svtplay") -%>
130130
<form class="input-group" method="get" action="svtplay">
131131
<span class="input-group-text"><label for="svtplay_q">SVT Play</label></span>
132-
<input class="form-control" type="search" name="q" id="svtplay_q" placeholder="Enter a SVT Play program name or a url." required>
132+
<input class="form-control" type="search" name="q" id="svtplay_q" placeholder="Enter a SVT Play program name or a url." spellcheck="false" required>
133133
<input class="btn btn-primary" type="submit" value="Get RSS Feed">
134134
</form>
135135
<%- end -%>
@@ -159,7 +159,7 @@
159159
<div class="input-group">
160160
<span class="input-group-text"><label for="donation_amount">$</label></span>
161161
<input type="hidden" name="currency_code" value="USD">
162-
<input class="form-control" type="text" id="donation_amount" name="amount" value="5.00" pattern="\d+\.?\d*" placeholder="Amount">
162+
<input class="form-control" type="text" id="donation_amount" name="amount" value="5.00" pattern="\d+\.?\d*" placeholder="Amount" spellcheck="false">
163163
</div>
164164
</div>
165165
<div class="col">
@@ -190,7 +190,7 @@
190190
<div class="modal-body">
191191
<label for="feed-url" class="col-form-label">Feed URL:</label>
192192
<div class="input-group">
193-
<input class="form-control" type="text" id="feed-url" placeholder="Feed URL">
193+
<input class="form-control" type="text" id="feed-url" placeholder="Feed URL" spellcheck="false">
194194
<button type="button" class="btn btn-primary" id="copy-button">Copy</button>
195195
</div>
196196

@@ -215,7 +215,7 @@
215215
<label class="col-form-label" for="youtube_title_filter">Filter by video title</label>
216216
</div>
217217
<div class="col-auto">
218-
<input type="text" id="youtube_title_filter" name="q" class="form-control">
218+
<input type="text" id="youtube_title_filter" name="q" class="form-control" spellcheck="false">
219219
</div>
220220
</div>
221221
</form>

0 commit comments

Comments
 (0)