-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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