63 lines
3.7 KiB
PHP
63 lines
3.7 KiB
PHP
<x-layout.app>
|
|
<x-slot:page_title>Audition Settings</x-slot:page_title>
|
|
<x-layout.page-section-container>
|
|
<x-form.form method="POST" action="{{ route('audition-settings-save') }}">
|
|
|
|
<x-layout.page-section>
|
|
<x-slot:section_name>Group Information</x-slot:section_name>
|
|
<x-form.body-grid columns="12" class="m-3">
|
|
<x-form.field label_text="Organization Name" name="auditionName" colspan="8" :value="auditionSetting('auditionName')"/>
|
|
<x-form.field label_text="Abbreviation" name="auditionAbbreviation" colspan="4" :value="auditionSetting('auditionAbbreviation')"/>
|
|
<x-form.field label_text="Organizer Name" name="organizerName" colspan="6" :value="auditionSetting('organizerName')"/>
|
|
<x-form.field label_text="Organizer Email" type="email" name="organizerEmail" colspan="6" :value="auditionSetting('organizerEmail')"/>
|
|
</x-form.body-grid>
|
|
</x-layout.page-section>
|
|
|
|
<x-layout.page-section>
|
|
<x-slot:section_name>Registration Settings</x-slot:section_name>
|
|
<x-slot:section_description>If students cannot advance to further honor groups, leave next event name blank</x-slot:section_description>
|
|
<x-form.body-grid columns="12" class="m-3">
|
|
<x-form.field label_text="Registration Code" name="registrationCode" colspan="3" :value="auditionSetting('registrationCode')"/>
|
|
<x-form.field label_text="Next Event Name" name="advanceTo" colspan="4" :value="auditionSetting('advanceTo')"/>
|
|
</x-form.body-grid>
|
|
</x-layout.page-section>
|
|
|
|
<x-layout.page-section>
|
|
<x-slot:section_name>Scoring Settings</x-slot:section_name>
|
|
<x-slot:section_description>If students cannot advance to further honor groups, leave next event name blank</x-slot:section_description>
|
|
<x-form.body-grid columns="12" class="m-3">
|
|
<div class="col-span-6 flex space-x-3">
|
|
<x-form.toggle-checkbox name="judging_enabled"/><span>Enable score entry by judges</span>
|
|
</div>
|
|
<div class="col-span-6 flex space-x-3">
|
|
<x-form.toggle-checkbox name="olympic_scoring"/><span>Olympic scoring</span>
|
|
</div>
|
|
</x-form.body-grid>
|
|
</x-layout.page-section>
|
|
|
|
<x-layout.page-section>
|
|
<x-slot:section_name>Financial Settings</x-slot:section_name>
|
|
<x-slot:section_description>If students cannot advance to further honor groups, leave next event name blank</x-slot:section_description>
|
|
<x-form.body-grid columns="12" class="m-3">
|
|
|
|
<x-form.select name="fee_structure" colspan="6">
|
|
<x-slot:label>Fee Structure</x-slot:label>
|
|
<option>One fee per entry</option>
|
|
<option>One fee per student</option>
|
|
</x-form.select>
|
|
|
|
<x-form.field label_text="Late Fee" name="late_fee" colspan="3" :value="auditionSetting('late_fee')"/>
|
|
<x-form.field label_text="School Membership Fee" name="school_fee" colspan="3" :value="auditionSetting('school_fee')"/>
|
|
|
|
</x-form.body-grid>
|
|
</x-layout.page-section>
|
|
|
|
<div class="grid grid-cols-12">
|
|
<div class="col-span-2 col-start-11 my-5 mr-3">
|
|
<x-form.button type="submit" Save Settings>Save Settings</x-form.button>
|
|
</div>
|
|
</div>
|
|
</x-form.form>
|
|
</x-layout.page-section-container>
|
|
</x-layout.app>
|