Skip to content

Instantly share code, notes, and snippets.

@davidlesches
Created December 25, 2013 03:22
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/0272c0ef5d221a837871 to your computer and use it in GitHub Desktop.
Save davidlesches/0272c0ef5d221a837871 to your computer and use it in GitHub Desktop.
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