Class: ActionView::Helpers::InstanceTag
- Inherits:
-
Object
- Object
- ActionView::Helpers::InstanceTag
- Defined in:
- lib/action_view/helpers/text_field_date_helper.rb
Overview
:nodoc:
Instance Method Summary collapse
- #to_date_text_field_tag(options = {}, html_options = {}) ⇒ Object
- #to_time_text_field_tag(options = {}, html_options = {}) ⇒ Object
Instance Method Details
#to_date_text_field_tag(options = {}, html_options = {}) ⇒ Object
153 154 155 |
# File 'lib/action_view/helpers/text_field_date_helper.rb', line 153 def to_date_text_field_tag( = {}, = {}) datetime_selector(, ).text_field_date.html_safe end |
#to_time_text_field_tag(options = {}, html_options = {}) ⇒ Object
157 158 159 |
# File 'lib/action_view/helpers/text_field_date_helper.rb', line 157 def to_time_text_field_tag( = {}, = {}) datetime_selector(, ).text_field_time.html_safe end |