diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index c8813d8..bf5f656 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -64,7 +64,9 @@ class UserController extends Controller 'code', 'Invalid Code!' ); - return back()->withErrors($validator); + return back() + ->withInput() + ->withErrors($validator); } } diff --git a/resources/views/domain/addedit.blade.php b/resources/views/domain/addedit.blade.php index 4870e53..5aa2e26 100644 --- a/resources/views/domain/addedit.blade.php +++ b/resources/views/domain/addedit.blade.php @@ -1,5 +1,5 @@ -@use(App\Models\Echoarea) +@use(App\Models\Echoarea) @extends('layouts.app') @@ -8,7 +8,7 @@ @endsection @section('content') -
@endsection -@section('page-css') - @css('simplemde') - @css('select2') -@append +@pa(simplemde) + @section('page-scripts') - @js('simplemde') - @js('select2') - - @can('admin',$o) - - @endcan + @append \ No newline at end of file diff --git a/resources/views/system/widget/form-address.blade.php b/resources/views/system/widget/form-address.blade.php index 55ae08f..4dd8805 100644 --- a/resources/views/system/widget/form-address.blade.php +++ b/resources/views/system/widget/form-address.blade.php @@ -1,6 +1,6 @@ @use(App\Models\Zone) - -@endsection - -@section('page-css') - @css('select2') -@append -@section('page-scripts') - @js('select2') - - -@append \ No newline at end of file +@endsection \ No newline at end of file