Commit bd0d91ef authored by Mahmoud Aglan's avatar Mahmoud Aglan

fix(tournaments): form hints state what the fields do, not what the game lacks

The game team is landing registration-window, rating-limit and prize-payout
enforcement; hints that said those were not enforced would go stale the
moment it deploys.
Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
parent 7d9a4f22
......@@ -213,7 +213,7 @@ if (!$prizeRows) $prizeRows = [['place' => 1, 'coins' => ''], ['place' => 2, 'co
<input type="number" name="max_rating" class="form-input" value="<?= View::e($tournament['max_rating'] ?? '') ?>" min="0" max="3500" placeholder="بلا حد">
</div>
</div>
<p class="form-hint mb-4">حدود التقييم تظهر للاعبين في صفحة البطولة، لكن التطبيق لا يمنع التسجيل بها بعد.</p>
<p class="form-hint mb-4">حدود التقييم تظهر للاعبين في صفحة البطولة. اتركها فارغة لبطولة مفتوحة للجميع.</p>
<label class="flex items-center gap-2 mb-4">
<input type="checkbox" name="is_rated" value="1" <?= $isRated ? 'checked' : '' ?>>
......@@ -298,7 +298,7 @@ if (!$prizeRows) $prizeRows = [['place' => 1, 'coins' => ''], ['place' => 2, 'co
</button>
<span class="text-sm text-muted">الموزّع: <span id="prizeTotal" class="tabular-nums">0</span></span>
</div>
<p class="form-hint mt-2">يُحفظ مع البطولة ويظهر في الصفحة المباشرة. صرف الجوائز ورسوم الاشتراك لم يُبنَ في التطبيق بعد، فلا يُخصم أو يُصرف شيء تلقائيًا.</p>
<p class="form-hint mt-2">المراكز التي بلا مبلغ لا تُحفظ. يظهر التوزيع في الصفحة المباشرة.</p>
</div>
<div class="wizard-nav">
......@@ -334,7 +334,7 @@ if (!$prizeRows) $prizeRows = [['place' => 1, 'coins' => ''], ['place' => 2, 'co
<div class="form-group">
<label class="form-label">فتح التسجيل (بتوقيت القاهرة)</label>
<input type="datetime-local" name="registration_opens_at" class="form-input" value="<?= Time::toInput($tournament['registration_opens_at'] ?? null) ?>" dir="ltr">
<span class="form-hint">اتركه فارغًا للفتح فورًا. التطبيق لا يطبّق هذا الموعد بعد؛ افتح التسجيل يدويًا بزر "فتح التسجيل".</span>
<span class="form-hint">اتركه فارغًا ليبدأ التسجيل فور الضغط على "فتح التسجيل".</span>
</div>
<div class="form-group">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment