auditionadmin/resources/views/judging/advancement-vote-form.blade...

38 lines
1.8 KiB
PHP

<fieldset>
<input type="hidden" name="require-vote" value="true">
<legend class="text-sm font-semibold leading-6 text-gray-900">{{ auditionSetting('advanceTo') }} Advancement </legend>
<p class="mt-1 text-sm leading-6 text-gray-600">Only choose DQ if a rule of some kinds was broken</p>
<div class="mt-6 space-y-6 sm:flex sm:items-center sm:space-x-10 sm:space-y-0">
<div class="flex items-center">
<input id="advance-yes"
name="advancement-vote"
type="radio"
value="yes"
@if($oldVote === 'yes') checked @endif
class="h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600">
<label for="advance-yes" class="ml-3 block text-sm font-medium leading-6 text-gray-900">Yes</label>
</div>
<div class="flex items-center">
<input id="advance-no"
name="advancement-vote"
type="radio"
value="no"
@if($oldVote === 'no') checked @endif
class="h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600">
<label for="advance-no" class="ml-3 block text-sm font-medium leading-6 text-gray-900">No</label>
</div>
<div class="flex items-center">
<input id="advance-dq"
name="advancement-vote"
type="radio"
value="dq"
@if($oldVote === 'dq') checked @endif
class="h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600">
<label for="advance-dq" class="ml-3 block text-sm font-medium leading-6 text-gray-900">DQ</label>
</div>
</div>
@error('advancement-vote')
<p class="text-xs text-red-500 font-semibold mt-1 ml-3">{{ $message }}</p>
@enderror
</fieldset>