Skip to content

Instantly share code, notes, and snippets.

@davidlesches
Last active January 1, 2016 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidlesches/d70411614d706b5e5b62 to your computer and use it in GitHub Desktop.
Save davidlesches/d70411614d706b5e5b62 to your computer and use it in GitHub Desktop.
Yodlee and Rails Implementation, Part 3: Forms - app/models/yodlee/fields/if_password.rb
module Yodlee
module Fields
class IfPassword < BaseField
def input
"<input class='string #{requirement}' id='#{name}' name='#{name}' size='#{size}' type='password' maxlength='#{maxlength}' value='#{value}' />"
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment