feat: add field class

This commit is contained in:
EETagent 2023-01-26 22:54:13 +01:00
parent ec4fe74490
commit 446500e0a3

View file

@ -696,14 +696,14 @@
{$LL.candidate.register.seventh.description()} {$LL.candidate.register.seventh.description()}
</p> </p>
<div class="flex h-full flex-col justify-between"> <div class="flex h-full flex-col justify-between">
<span> <span class="field">
<SchoolSelect <SchoolSelect
error={$typedErrors['candidate']['firstSchool']['name'] || error={$typedErrors['candidate']['firstSchool']['name'] ||
$typedErrors['candidate']['firstSchool']['field']} $typedErrors['candidate']['firstSchool']['field']}
bind:selectedSchool={$form.candidate.firstSchool} bind:selectedSchool={$form.candidate.firstSchool}
/> />
</span> </span>
<span class="mt-10 w-full"> <span class="mt-10 field">
<SchoolSelect <SchoolSelect
error={$typedErrors['candidate']['secondSchool']['name'] || error={$typedErrors['candidate']['secondSchool']['name'] ||
$typedErrors['candidate']['secondSchool']['field']} $typedErrors['candidate']['secondSchool']['field']}