pixelfed/resources/views/site/partial/template.blade.php
2019-06-06 20:06:54 -06:00

40 lines
1.2 KiB
PHP

@extends('layouts.anon',['title' => 'About ' . config('app.name')])
@section('content')
<div class="container px-0 mt-0 mt-md-4 mb-md-5 pb-md-5">
<div class="col-12 px-0">
<div class="card mt-md-5">
<div class="card-body p-0">
<div class="row px-0">
@include('site.partial.sidebar')
<div class="col-12 col-md-9 p-5">
@if (session('status'))
<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>
</div>
</div>
</div>
</div>
@endsection