@extends('layout.app')

@section('left-menu')
    @parent
    <ul>
        <li>Wnioski</li>
        <li>Sprawozdania</li>
        <li>Karta Jednostki</li>

    </ul>
@stop

@section('center-area')
    @parent
    @if( auth()->check())
        @if( auth()->user()->fireStationID != NULL)
            <form action="/pdf/sprzet" method="post">
                {{ csrf_field() }}
                <button class="btn btn-info" type="submit">Stan sprzętu</button>
            </form>

            <form action="/pdf/strazacy" method="post">
                {{ csrf_field() }}
                <button class="btn btn-info" type="submit">Wykaz strażaków wraz z kontaktem</button>
            </form>
        @endif
    @endif
@stop