初始化项目
This commit is contained in:
10
application/common/view/default/form/datetime.html
Normal file
10
application/common/view/default/form/datetime.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" id="{$field}" name="{$field}" value="{$value}" readonly size="15">
|
||||
<span class="input-group-addon"><i class="fa fa-th"></i></span>
|
||||
</div>
|
||||
<script>
|
||||
$('#{$field}').fdatepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
pickTime: true
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user