@php $fairPlay = $fairPlay ?? []; $readonly = $rulesLocked ?? false; @endphp
@include('admin.leagues.rules._rules_card_header', ['title' => 'Rule Enforcement']) @include('admin.leagues.rules._rules_toggle_input', [ 'name' => 'fairPlay[preventDuplicatePlayer]', 'label' => 'Duplicate Player Prevention', 'subtext' => 'Prevents the same player from being assigned to more than one team.', 'enabled' => (bool) ($fairPlay['preventDuplicatePlayer'] ?? true), 'readonly' => $readonly, ]) @include('admin.leagues.rules._rules_toggle_input', [ 'name' => 'fairPlay[antiCollusionMonitoring]', 'label' => 'Anti-Collusion Monitoring', 'subtext' => 'Flags suspicious bidding patterns in the background.', 'enabled' => (bool) ($fairPlay['antiCollusionMonitoring'] ?? true), 'readonly' => $readonly, ]) @include('admin.leagues.rules._rules_toggle_input', [ 'name' => 'fairPlay[autoDisqualification]', 'label' => 'Auto Disqualification Rule', 'subtext' => 'Automatically takes action when a serious rule violation occurs.', 'enabled' => (bool) ($fairPlay['autoDisqualification'] ?? false), 'readonly' => $readonly, ])