cleanup creation templates

This commit is contained in:
Nabeel Shahzad
2017-12-30 12:53:16 -06:00
parent af09f5f977
commit 87867746aa
10 changed files with 56 additions and 104 deletions

View File

@@ -0,0 +1,6 @@
@if($errors->has($field))
<p class="text-danger" style="margin-top: 10px;">{!! $errors->first($field); !!}</p>
{{--<div class="alert alert-danger" role="alert" style="margin-top: 10px;">
{!! $errors->first($field); !!}
</div>--}}
@endif

View File

@@ -1,10 +1,10 @@
@foreach (session('flash_notification', collect())->toArray() as $message)
@foreach ($errors->all() as $message)
<div class="alert alert-danger" role="alert">
<div class="container">
<div class="alert-icon">
<i class="now-ui-icons ui-2_like"></i>
</div>
{!! $message['message'] !!}
{!! $message !!}
</div>
</div>
@endforeach