mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-05 12:32:35 -04:00
add noscript tag
This commit is contained in:
1 parent
4e0d62b28d
commit
cd6fc7e804
1 file changed
+1
@@ -8,6 +8,7 @@ module AutoSuggestHelper
|
||||
|
||||
%Q{
|
||||
<input id="#{source}" class="auto-suggest" type="text" value="#{default}" data-source-url="#{source_path}">
|
||||
<noscript>Warning: Javascript must be available to search and match crops</noscript>
|
||||
<input id="#{resource}_#{source}_id" class="auto-suggest-id" type="hidden" name="#{resource}[#{source}_id]">
|
||||
}.html_safe
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user