@extends('superadmin.layouts.template')
@section('title', 'Crear Sede')
@section('content')
    @include('superadmin.layouts.partials.breadcrumbs')
    <div class="page-header position-relative">
        <div class="header-title">
            <h1>Crear Sede</h1>
        </div>
        <div class="header-buttons">
            @include('superadmin.layouts.partials.headerbuttons')
        </div>
    </div>
    <div class="page-body">
        <div class="row">
            <div class="col-md-12">
                <div class="widget">
                    <div class="widget-header ">
                        <span class="widget-caption">Crear Sede</span>
                        <div class="widget-buttons">
                            @include('superadmin.layouts.partials.widgetbutton')
                        </div>
                    </div>
                    <div class="widget-body">
                        {!! Form::open(['route'=>'superadmin.sedes.create', 'class'=>'row formAjax']) !!}
                        @include('superadmin.sedes.partials.form')
                        <div class="footer">
                            <div class="col-sm-12 text-center">
                                <button type="submit" class="btn btn-success btnSubmitForm">Crear</button>
                                <a href="{{ route('superadmin.sedes.index') }}"
                                   class="btn btn-danger m-l-5">Cancelar</a>
                            </div>
                        </div>
                        {!! Form::close() !!}
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection