Open
Description
Posible addition to fields file and output.
{
"fieldInput": "title:string,20", // field name with database type and options
"htmlType": "text", // field html type
"validations": "required", // field validations
"searchable": false, // is field searchable
"fillable": false, // if field should be fillable
"primary": true, // does field is primary key
"inForm": false, // if field should be included in create and edit form
"inIndex": false, // if field should be included in index.blade.php
"bsColumnSize": 8 // Bootstrap Column Size
}
Bootstrap Column Size for the form fields
options 1-12
will be added to classes 👍
col-md-{bsColumnSize}
col-sm-{bsColumnSize}
col-lg-{bsColumnSize}
To be used in each form field in stubs:
<!-- $FIELD_NAME_TITLE$ Field -->
<div class="form-group {{ col-sm-12 col-lg-12 }}">
{!! Form::label('$FIELD_NAME$', '$FIELD_NAME_TITLE$:') !!}
{!! Form::textarea('$FIELD_NAME$', null, ['class' => 'form-control', 'rows' => '5']) !!}
</div>