{{ Form::open(array('url' => url('/brackets/' . $info['bracket']->bracket->id . '/update'), 'style' => 'font-size: 10pt; position: relative;')) }} {{ Form::hidden('bracket', $info['bracket']->bracket->id) }}

{{ $info['bracket']->bracket->division }} {{ Helpers::getActivityName($info['bracket']->bracket->activity) }} Bracket Information

Bracket ID = {{ $info['bracket']->bracket->id }}
School Year = {{ $info['bracket']->bracket->school_year }}-{{ substr((intval($info['bracket']->bracket->school_year) + 1), 2, 2) }}
Activity = {{ $info['bracket']->bracket->activity }}
Division = {{ $info['bracket']->bracket->division }}
Sub-Division = {{ (!is_null($info['bracket']->bracket->subdivision)) ? $info['bracket']->bracket->subdivision : 'N/A' }}
Bracket Type = {{ $info['bracket']->bracket->bracket_type->name }} ({{ $info['bracket']->bracket->bracket_type->slug }})
Layout = {{ $info['bracket']->bracket->layout }}
Number of Rounds = {{ $info['bracket']->bracket->number_rounds }}
Updated At = {{ date('n/j/Y g:ia', strtotime($info['bracket']->bracket->updated_at)) }}
Created At = {{ date('n/j/Y g:ia', strtotime($info['bracket']->bracket->created_at)) }}


@if (is_null($info['bracket']->bracket->published_at)) {{-- Unpublished/Hidden --}}

Not Published / Hidden

This bracket has not been published, it is hidden from public viewing.
[ Publish ]
@else {{-- Published/Visible --}}

Published

This bracket is published, the public can view this bracket.
{{ date('n/j/Y g:ia', strtotime($info['bracket']->bracket->published_at)) }}
@endif

@if (Helpers::strEqual($info['bracket']->bracket->activity, array('VBL', 'BBX', 'GBX')))

Summary Files

All-Tournament Teams and Attendance
Path: public/stats/{{ strtolower($info['bracket']->bracket->activity) }}/
{{ Form::text('overview_file', $info['bracket']->bracket->overview_file, array('style' => 'width: 275px;', 'data-autosave' => true, 'data-field' => 'overview_file', 'data-type' => 'STRING')) }}
@if (!is_null($info['bracket']->bracket->overview_file) and file_exists(public_path() . '/stats/' . strtolower($info['bracket']->bracket->activity) . '/' . $info['bracket']->bracket->overview_file)) The file has been found @else The file has not been uploaded @endif
Tournament Statistics
Path:
public/stats/{{ strtolower($info['bracket']->bracket->activity) }}/{{ $info['bracket']->bracket->school_year }}-{{ (intval(substr($info['bracket']->bracket->school_year, 2, 2)) + 1)}}/{{ strtoupper($info['bracket']->bracket->division) }}/{{ strtolower($info['bracket']->bracket->division) . strtolower(substr($info['bracket']->bracket->activity, 0, 1)) }}stats.htm
@if (file_exists(public_path() . '/stats/' . strtolower($info['bracket']->bracket->activity) . '/' . $info['bracket']->bracket->school_year . '-' . (intval(substr($info['bracket']->bracket->school_year, 2, 2)) + 1) . '/' . strtoupper($info['bracket']->bracket->division) . '/' . strtolower($info['bracket']->bracket->division) . strtolower(substr($info['bracket']->bracket->activity, 0, 1)) . 'stats.htm')) The file has been found @else The file has not been uploaded @endif


@endif

Extra Data

{{ Form::textarea('data', (!is_null($info['bracket']->bracket->data)) ? json_encode($info['bracket']->bracket->data, JSON_PRETTY_PRINT) : null, array('style' => 'width: 100%; height: 8em;', 'data-autosave' => true, 'data-field' => 'data', 'data-type' => 'JSON')) }} {{ Form::close() }}