Update view_helpers.rb (#37)
This commit is contained in:
parent
45a9056cf4
commit
9159b8cd10
|
@ -5,7 +5,7 @@ module RuCaptcha
|
|||
opts[:type] = 'text'
|
||||
opts[:autocorrect] = 'off'
|
||||
opts[:autocapitalize] = 'off'
|
||||
opts[:pattern] = '[0-9a-z]*'
|
||||
opts[:pattern] = '[0-9a-zA-Z]*'
|
||||
opts[:maxlength] = RuCaptcha.config.len
|
||||
opts[:autocomplete] = 'off'
|
||||
tag(:input, opts)
|
||||
|
|
Loading…
Reference in New Issue