Fix error message formatting to match new style

This commit is contained in:
Dane Everitt 2017-11-25 13:17:31 -06:00
parent 20c1c74116
commit 9ee503b3c1
2 changed files with 4 additions and 4 deletions

View file

@ -133,7 +133,7 @@
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
@if (count($errors) > 0) @if (count($errors) > 0)
<div class="callout callout-danger"> <div class="alert alert-danger">
@lang('base.validation_error')<br><br> @lang('base.validation_error')<br><br>
<ul> <ul>
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
@ -144,7 +144,7 @@
@endif @endif
@foreach (Alert::getMessages() as $type => $messages) @foreach (Alert::getMessages() as $type => $messages)
@foreach ($messages as $message) @foreach ($messages as $message)
<div class="callout callout-{{ $type }} alert-dismissable" role="alert"> <div class="alert alert-{{ $type }} alert-dismissable" role="alert">
{!! $message !!} {!! $message !!}
</div> </div>
@endforeach @endforeach

View file

@ -215,7 +215,7 @@
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
@if (count($errors) > 0) @if (count($errors) > 0)
<div class="callout callout-danger"> <div class="alert alert-danger">
@lang('base.validation_error')<br><br> @lang('base.validation_error')<br><br>
<ul> <ul>
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
@ -226,7 +226,7 @@
@endif @endif
@foreach (Alert::getMessages() as $type => $messages) @foreach (Alert::getMessages() as $type => $messages)
@foreach ($messages as $message) @foreach ($messages as $message)
<div class="callout callout-{{ $type }} alert-dismissable" role="alert"> <div class="alert alert-{{ $type }} alert-dismissable" role="alert">
{!! $message !!} {!! $message !!}
</div> </div>
@endforeach @endforeach