|
|
|
|
|
|
|
|
javascript_tag( |
|
|
javascript_tag( |
|
|
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " \ |
|
|
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " \ |
|
|
"showOn: 'button', buttonImageOnly: true, buttonImage: '" + |
|
|
"showOn: 'button', buttonImageOnly: true, buttonImage: '" + |
|
|
path_to_image('/images/calendar.png') + |
|
|
|
|
|
|
|
|
asset_path('calendar.png') + |
|
|
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, " \ |
|
|
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, " \ |
|
|
"selectOtherMonths: true, changeMonth: true, changeYear: true, " \ |
|
|
"selectOtherMonths: true, changeMonth: true, changeYear: true, " \ |
|
|
"beforeShow: beforeShowDatePicker};" |
|
|
"beforeShow: beforeShowDatePicker};" |