diff --git a/src/stubs/resources/views/full/create-formfield-bs3.stub b/src/stubs/resources/views/full/create-formfield-bs3.stub new file mode 100644 index 0000000..9cd22ca --- /dev/null +++ b/src/stubs/resources/views/full/create-formfield-bs3.stub @@ -0,0 +1,23 @@ +@extends('layouts.app') + +@section('title', __('master.create')) + +@section('content') +
+
+
+

{{ __('master.create') }}

+ {{ Form::open(['route' => 'masters.store']) }} +
+ {!! FormField::text('name', ['required' => true, 'label' => __('master.name')]) !!} + {!! FormField::textarea('description', ['label' => __('master.description')]) !!} +
+ + {{ Form::close() }} +
+
+
+@endsection diff --git a/src/stubs/resources/views/full/create-formfield.stub b/src/stubs/resources/views/full/create-formfield.stub index 9cd22ca..ae33530 100644 --- a/src/stubs/resources/views/full/create-formfield.stub +++ b/src/stubs/resources/views/full/create-formfield.stub @@ -3,18 +3,18 @@ @section('title', __('master.create')) @section('content') -
-
-
-

{{ __('master.create') }}

+
+
+
+
{{ __('master.create') }}
{{ Form::open(['route' => 'masters.store']) }} -
+
{!! FormField::text('name', ['required' => true, 'label' => __('master.name')]) !!} {!! FormField::textarea('description', ['label' => __('master.description')]) !!}
- diff --git a/src/stubs/resources/views/full/edit-bs3.stub b/src/stubs/resources/views/full/edit-bs3.stub index 5e9c344..db69d13 100644 --- a/src/stubs/resources/views/full/edit-bs3.stub +++ b/src/stubs/resources/views/full/edit-bs3.stub @@ -10,14 +10,14 @@

{{ __('master.delete') }}

- +

{{ $singleMstr->name }}

- +

{{ $singleMstr->description }}

{!! $errors->first('master_id', ':message') !!}

-
{{ __('master.delete_confirm') }}
+
{{ __('master.delete_confirm') }}