why I have this Problem please? this is my blade code in laravel 9:
<form method="POST" action="{{ route('users.store') }}" >
@csrf
@include('users.partials.form')
<div >
<button type="submit" >Add user</button>
</div>
</form>
this is the structure of my blade:
-Thank you
CodePudding user response:
If your return line is like: return view('dashboard.admin.users.create');
, then your file path must be resources/views/dashboard/admin/users/create.blade.php
Moreover, include the form like : @include('dashboard.admin.users.partials.form')
CodePudding user response:
thanc you dev I solve it by adding the complet path and update forn -> from 'dashboard.admin.users.partials.from'