this is the controller
public function emailsForReview()
{
$email= Email::all();
return view('content.emailsForReview',compact('email'));
}
this is the blade
@foreach($email as $emails)
<div class="col-md-6">
<div class="md-form mb-0">
<label for="name" class="">name</label>
<input type="text" value="" id="name" name="name" class="form-control">
</div>
</div>
@endforeach
this is the route
Route::get('/emailsForReview','PagesController@emailsForReview');
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire