mirror of
https://github.com/internetee/registry.git
synced 2025-05-20 19:29:39 +02:00
16 lines
326 B
CoffeeScript
16 lines
326 B
CoffeeScript
$(document).on 'page:change', ->
|
|
$('.selectize').selectize({
|
|
allowEmptyOption: true
|
|
})
|
|
|
|
$('.js-datepicker').datepicker({
|
|
showAnim: "",
|
|
autoclose: true,
|
|
dateFormat: "dd.mm.yy",
|
|
changeMonth: true,
|
|
changeYear: true
|
|
})
|
|
|
|
# client side validate all forms
|
|
$('form').each ->
|
|
$(this).validate()
|