From 9159b8cd10efeeaecab7be86e6149657f2533ce7 Mon Sep 17 00:00:00 2001 From: lizy Date: Mon, 9 Jan 2017 17:09:46 +0800 Subject: [PATCH] Update view_helpers.rb (#37) --- lib/rucaptcha/view_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rucaptcha/view_helpers.rb b/lib/rucaptcha/view_helpers.rb index 9807783..c60bacd 100644 --- a/lib/rucaptcha/view_helpers.rb +++ b/lib/rucaptcha/view_helpers.rb @@ -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)