mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
19 lines
394 B
Smarty
19 lines
394 B
Smarty
{**
|
|
* Выбор даты
|
|
*}
|
|
|
|
{extends './field.text.tpl'}
|
|
|
|
{block 'field_options' append}
|
|
{$_inputClasses = "{$_inputClasses} width-150"}
|
|
|
|
<script>
|
|
jQuery(function($) {
|
|
{if $smarty.local.useTime}
|
|
$( '#{$_uid}' ).datetimepicker();
|
|
{else}
|
|
$( '#{$_uid}' ).datepicker();
|
|
{/if}
|
|
});
|
|
</script>
|
|
{/block} |