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

Returns:

  • (Boolean)


97
98
99
100
101
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/password.rb', line 97

def autocomplete?
  return "on" if @parent && @parent.card.name == "*signin+*account" # HACK

  "off"
end

#input_typeObject



93
94
95
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/password.rb', line 93

def input_type
  :password
end

#view: coreObject



89
90
91
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/password.rb', line 89

view :core, wrap: :em do
  render_raw
end