skip to Main Content

why I have this Problem please?
this is my blade code in laravel 9:

<form class="row g-3" method="POST" action="{{ route('users.store') }}" >
    @csrf
    @include('users.partials.form')

    <div class="col-12">
        <button class="btn btn-primary" type="submit" >Add user</button>
    </div>
</form>

this is the structure of my blade:
enter image description here

-Thank you

2

Answers


  1. Chosen as BEST ANSWER

    thanc you dev I solve it by adding the complet path and update forn -> from 'dashboard.admin.users.partials.from'


  2. 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')

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search