I noticed that also while reading the documentation, don't know what are they exactly mean for that I just used the messagebag instance for setting up the default format
$errors->setFormat("<div class='alert alert-danger'>:message</div>");
or after validation like that
$validator->messages()->setFormat("<div class='alert alert-danger'>:message</div>");
return View::make('formview')->withErrors($validator);
but I don't know how to setFormat Globally, I think this is not a big problem
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community