PHP Classes

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

Recommend this page to a friend!
  Classes of TJ Webb  >  Laravel CRUD Generator  >  src/stubs/views/partials/fields/edit/time.blade.php.stub  >  Download  
File: src/stubs/views/partials/fields/edit/time.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: 2 years ago
Size: 1,310 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-time"></span>
                            </span>
                        </div>

                    </div>
                    <script type="text/javascript">
                        $(function () {
                            $('#datetimepicker-{FIELD_MACHINE_NAME}').datetimepicker({
                                format: 'HH:mm:ss',
                            });
                        });
                    </script>
                </div>
For more information send a message to info at phpclasses dot org.