lib/formtastic/inputs/password_input.rb in formtastic-2.0.2 vs lib/formtastic/inputs/password_input.rb in formtastic-2.1.0.beta1
- old
+ new
@@ -22,13 +22,14 @@
# </li>
# </ol>
# </fieldset>
# </form>
#
- # @see Formtastic::Helpers::InputsHelper#input InputsHelper#input for full documetation of all possible options.
+ # @see Formtastic::Helpers::InputsHelper#input InputsHelper#input for full documentation of all possible options.
class PasswordInput
include Base
include Base::Stringish
+ include Base::Placeholder
def to_html
input_wrapping do
label_html <<
builder.password_field(method, input_html_options)
\ No newline at end of file