Module: UnobtrusiveDatePicker::AssetTagHelper
- Defined in:
- lib/unobtrusive_date_picker.rb
Instance Method Summary collapse
-
#unobtrusive_datepicker_includes(options = {}) ⇒ Object
This will add the necessary <link> and <script> tags to include the necessary stylesheet and javascripts.
Instance Method Details
#unobtrusive_datepicker_includes(options = {}) ⇒ Object
This will add the necessary <link> and <script> tags to include the necessary stylesheet and javascripts.
86 87 88 89 90 91 |
# File 'lib/unobtrusive_date_picker.rb', line 86 def unobtrusive_datepicker_includes( = {}) = [] << javascript_include_tag('datepicker', ) << stylesheet_link_tag('datepicker', ) * "\n" end |