Create a gist now

Instantly share code, notes, and snippets.

@davidlesches /if_password.rb Secret
Last active Jan 1, 2016

What would you like to do?
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