diff --git a/resources/views/resources/form.blade.php b/resources/views/resources/form.blade.php index 5a173583..3f818719 100644 --- a/resources/views/resources/form.blade.php +++ b/resources/views/resources/form.blade.php @@ -5,45 +5,45 @@ {{-- Content --}} @section('content') -@if($errors->isNotEmpty()) - - {{ __('Some error occurred when submitting the form!') }} - -@endif + @if($errors->isNotEmpty()) + + {{ __('Some error occurred when submitting the form!') }} + + @endif -
- @csrf - @method($method) -
-
-
-
-

General

-
-
-
- @foreach($fields as $field) - @include($field['template'], $field) - @endforeach + + @csrf + @method($method) +
+
+
+
+

General

+
+
+
+ @foreach($fields as $field) + @include($field['template'], $field) + @endforeach +
-
- -
-
- - {{ __('Cancel') }} -
- @if($model->exists) + +
-
- @csrf - @method('DELETE') - -
+ + {{ __('Cancel') }}
- @endif -
+ @if($model->exists) +
+
+ @csrf + @method('DELETE') + +
+
+ @endif +
@endsection