Created
December 5, 2011 16:19
-
-
Save rylwin/1434151 to your computer and use it in GitHub Desktop.
Rails 3: calendar_date_select + formtastic (2.0.2)
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
class CalendarInput < Formtastic::Inputs::StringInput | |
def to_html | |
input_wrapping do | |
label_html << | |
builder.text_field(method, input_html_options) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment