1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 00:35:59 +00:00

Update site template

This commit is contained in:
Daniel Supernault 2019-06-06 20:06:54 -06:00
parent b5ba410019
commit a9c02747b9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -10,10 +10,24 @@
@include('site.partial.sidebar')
<div class="col-12 col-md-9 p-5">
@if (session('status'))
<div class="alert alert-success">
<div class="alert alert-success font-weight-bold">
{{ session('status') }}
</div>
@endif
@if (session('error'))
<div class="alert alert-danger font-weight-bold">
{{ session('error') }}
</div>
@endif
@if ($errors->any())
<div class="alert alert-danger font-weight-bold">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
@yield('section')
</div>
</div>