E
E
Eugene2021-08-02 21:48:22
Laravel
Eugene, 2021-08-02 21:48:22

How to distinguish between sent errors in Blade?

Usually I use:

@if($errors->any())
// И работаю с массивом $errors->all()                
@endif

But how to distinguish between the output and sending errors when there are several forms on the page, if used?
Those. I have more than one container for error output, but each form has its own. And it turns out that they are everywhere duplicated.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question