17 lines
860 B
PHP
17 lines
860 B
PHP
<x-modal-body show-var="showEditBonusScoreModal{{ $bonusScoreModalId }}">
|
|
<x-slot:title>
|
|
Edit Bonus Score
|
|
</x-slot:title>
|
|
<x-form.form id="update-bonus-score-form" action="{{ route('admin.bonus-scores.update', $bonusScore) }}" method="PATCH">
|
|
<x-form.body-grid columns="12">
|
|
<x-form.field name="name" label_text="Name" colspan="8" value="{{ $bonusScore->name }}" />
|
|
<x-form.field name="max_score" type="number" label_text="Max Points" colspan="2" value="{{ $bonusScore->max_score }}" />
|
|
<x-form.field name="weight" label_text="Weight" colspan="2" value="{{ $bonusScore->weight }}" />
|
|
<div class="col-start-9 col-span-4 row-start-2">
|
|
<x-form.button >Update Bonus Score</x-form.button>
|
|
</div>
|
|
|
|
</x-form.body-grid>
|
|
</x-form.form>
|
|
</x-modal-body>
|