@extends('Core::layouts.participant')

@section('page_heading', $pageTitle = sprintf('Editing Participant: #%s - %s', $participant->getId(), $name = $participant->getFullName()))
@section('page_breadcrumb', $pageTitle)

@section('page_content')
    <div class="row form-affix-container">
        @include('Core::partials.menu', ['participant' => $participant ?? ''])
        <div class="col-sm-9 form-affix-body">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h3 class="box-title">Edit a participant</h3>
                </div>
                <div class="box-body">
                    {!! form($form) !!}
                </div>
            </div>
        </div>
    </div>
@endsection

@section('js')
    @parent
    @include('partials._participant.conditionals')
@endsection
