Skip to content

Commit

Permalink
HTML options add
Browse files Browse the repository at this point in the history
  • Loading branch information
izzm committed Jan 4, 2013
1 parent 5c573f2 commit 0f2b828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simple_captcha/form_builder.rb
Expand Up @@ -33,7 +33,7 @@ def simple_captcha_field(options={})
html.merge!(options[:input_html] || {})
html[:placeholder] = options[:placeholder] || I18n.t('simple_captcha.placeholder')

text_field(:captcha, :value => '', :autocomplete => 'off') +
text_field(:captcha, html) +
hidden_field(:captcha_key, {:value => options[:field_value]})
end
end
Expand Down

0 comments on commit 0f2b828

Please sign in to comment.