@extends('layouts.app', ['header' => 'event', 'header_image' => false]) @section('back_button') {{-- WHEN USER SELECT DIVISION FOR PLAYING --}} @if (request()->route('show') === null) @else {{-- FOR SHOWING DIVISIONS ONLY IN CHALLENGE RULES FLOW --}} @endif @endsection @section('content')

{{ $type == 'male' ? 'Men' : 'Women' }}’s Division

@if (isset($show) && $show == 1)

Current Pistol Divisions

@else

Choose your pistol division

@endif
@if (!isset($show) && $show != 1) {{--

Division Rules

--}} @endif
@forelse($divisions as $division) {{-- --}}

{{ $division->code }} {{-- @if (isset($show) && $show == 1) --}} {{-- @endif --}}

{{ $division->name }}
@if (!isset($show) && $show != 1) @endif
{{-- --}} @empty

No Division found

@endforelse
@endsection {{-- show rules modal --}}