diff --git a/composer.json b/composer.json index 00e04d7..2bdd69f 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "crestapps/laravel-code-generator", "license": "MIT", "description": "An awesome code generator for laravel framework.", - "version": "v1.0.1", + "version": "v1.0.2", "keywords": [ "laravel","crud","crud generator", "laravel crud generator","laravel crud builder", diff --git a/src/templates/form-file-field.blade.stub b/src/templates/form-file-field.blade.stub new file mode 100644 index 0000000..ab305ff --- /dev/null +++ b/src/templates/form-file-field.blade.stub @@ -0,0 +1 @@ + {!! Form::file('{{fieldName}}', ['class' => 'form-control']) !!} \ No newline at end of file diff --git a/src/templates/form-month-field.blade.stub b/src/templates/form-month-field.blade.stub new file mode 100644 index 0000000..7ea5a07 --- /dev/null +++ b/src/templates/form-month-field.blade.stub @@ -0,0 +1 @@ + {!! Form::{{fieldType}}('{{fieldName}}') !!} \ No newline at end of file diff --git a/src/templates/form-selectrange-field.blade.stub b/src/templates/form-selectrange-field.blade.stub new file mode 100644 index 0000000..64614c9 --- /dev/null +++ b/src/templates/form-selectrange-field.blade.stub @@ -0,0 +1 @@ + {!! Form::selectRange('{{fieldName}}', {{fieldMin}}, {{fieldMax}}) !!} \ No newline at end of file