@extends('Vzdelavanie::layout.integrated')

@section('content')
    @parent
    <section class="bg-white space-sm">
        <div class="container">
            <div class="row justify-content-between align-items-center">
                <div class="col-auto">
                    <h1 class="h2 mb-2">Nový test</h1>
                </div>
                <div class="col-auto text-right">
                    <button class="btn btn-primary" disabled="disabled">Otázky</button>
                </div>
            </div>
        </div>
    </section>

    <section>
        <div class="container">
        @if($errors->any())
            <div class="row">
                <div class="col-12">
                    <div class="alert alert-danger text-small" role="alert">
                        <i class="icon-shield mr-2"></i>
                        <span>Skontrolujte si prosím zadané údaje, niečo nie je v poriadku.</span>
                    </div>
                </div>
            </div>
        @endif
            <div class="row">
                <div class="col-12">
                    @include('Vzdelavanie::pages.sprava.testovanie.testy.partials.form', ['edit' => false])
                </div>
            </div>
        </div>
    </section>
@endsection