Corrected value setting for ui input option.
deadcast2 authored 5 years ago
GitHub committed 5 years ago
58 | 58 | when :invisible |
59 | 59 | html << %(<div data-size="invisible" #{tag_attributes}></div>\n) |
60 | 60 | when :input |
61 | html << %(<input type="submit" #{tag_attributes}>#{text}</input>\n) | |
61 | html << %(<input type="submit" #{tag_attributes} value="#{text}"/>\n) | |
62 | 62 | else |
63 | 63 | raise(RecaptchaError, "ReCAPTCHA ui `#{options[:ui]}` is not valid.") |
64 | 64 | end |