{Theme} comes with extended Modern Form
You can use it with the following HTML markup:
1 2 3 4 5 6 7 |
<form> <div class="input-group date ct-js-datetimePicker" id="datetimepicker"> <input type="text" id="inpcal" class="form-control ct-u-fontDarkgrey" /> label for="inpcal" class="input-group-addon"><i class="fa fa-calendar"></i> </label> </div> </form> |
Notice to include also the following javascript:
1 2 3 4 5 6 7 8 |
(function ($) { "use strict"; $(document).ready(function(){ $('.ct-js-datetimePicker').datetimepicker({ pickTime: false }); }) }(jQuery)); |