Create a gist now

Instantly share code, notes, and snippets.

@davidlesches /text.rb Secret
Created Dec 25, 2013

What would you like to do?
Yodlee and Rails Implementation, Part 3: Forms - app/models/yodlee/fields/text.rb
module Yodlee
module Fields
class Text < BaseField
def input
"<input class='string #{requirement}' id='#{name}' name='#{name}' size='#{size}' type='text' 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