PHP Classes

File: src/stubs/views/partials/fields/edit/date.blade.php.stub

Recommend this page to a friend!
  Classes of TJ Webb   Laravel CRUD Generator   src/stubs/views/partials/fields/edit/date.blade.php.stub   Download  
File: src/stubs/views/partials/fields/edit/date.blade.php.stub
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel CRUD Generator
Generate MVC classes for any Laravel model
Author: By
Last change:
Date: 4 years ago
Size: 1,316 bytes
 

Contents

Class file image Download
<div class="col-xs-12 col-sm-12 col-md-12"> <div class="form-group"> <strong>{FIELD_DISPLAY_NAME}:</strong> <div class="input-group date" id="datetimepicker-{FIELD_MACHINE_NAME}"> <input type="text" name="{FIELD_MACHINE_NAME}" value="{{{MODEL_VARIABLE}}}" class="form-control" data-target="#datetimepicker-{FIELD_MACHINE_NAME}" data-toggle="datetimepicker" placeholder="{FIELD_DISPLAY_NAME}"> <span class="input-group-addon"> <span class="glyphicon glyphicon-calendar"></span> </span> </div> </div> <script type="text/javascript"> $(function () { $('#datetimepicker-{FIELD_MACHINE_NAME}').datetimepicker({ format: 'YYYY-MM-DD', }); }); </script> </div>