Module: Card::Set::Right::Password::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod014-account/right/password.rb
Instance Method Summary collapse
Instance Method Details
#autocomplete? ⇒ Boolean
53 54 55 56 57 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/password.rb', line 53 def autocomplete? return "on" if @parent && @parent.card.name == "*signin+*account" # HACK "off" end |
#view: core ⇒ Object
44 45 46 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/password.rb', line 44 view :core, wrap: :em do render_raw end |
#view: input ⇒ Object
48 49 50 51 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/password.rb', line 48 view :input do card.content = "" password_field :content, class: "d0-card-content", autocomplete: autocomplete? end |