diff options
Diffstat (limited to 'public/app/config/setup_application.php')
| -rw-r--r-- | public/app/config/setup_application.php | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/public/app/config/setup_application.php b/public/app/config/setup_application.php index d44f59d..a5b7557 100644 --- a/public/app/config/setup_application.php +++ b/public/app/config/setup_application.php @@ -169,7 +169,7 @@ define('TEACHER_SECTORS', [ /** GENDER-ed constant arrays (LGBTQIA+ inclusive) - * they use pronounces as key instead of binary gender-flag + * they use pronounces as key instead of a binary gender-flag * ----------------------------------------------------------------------------- */ @@ -218,48 +218,41 @@ define('REGISTRATION_FORM', [ [ 'name' => 'first_name', 'label' => 'Όνομα', - 'value' => 'auto', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'last_name', 'label' => 'Επίθετο', - 'value' => 'auto', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'email', 'label' => 'Email', 'type' => 'email', - 'value' => 'auto', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'father_name', 'label' => 'Πατρώνυμο', - 'value' => 'auto', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'registration_number', 'label' => 'Αριθμός μητρώου', 'class' => 'col-8', - 'value' => 'auto', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'sector', 'label' => 'Κλάδος / Ειδικότητα', - 'value' => 'auto', 'type' => 'select', - 'attributes' => ['required'], + 'attributes' => ['required', 'auto'], 'options' => TEACHER_SECTORS ], [ 'name' => 'belonging_school', 'label' => 'Σχολείο τοποθέτησης', - 'value' => 'auto', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], // [ // working school = (obviously) is the current school // 'name' => 'working_school', @@ -270,16 +263,14 @@ define('REGISTRATION_FORM', [ 'name' => 'position', 'label' => 'Θέση', 'type' => 'select', - 'value' => 'auto', - 'attributes' => ['required'], + 'attributes' => ['required', 'auto'], 'options' => [] ], [ 'name' => 'phone', 'label' => 'Τηλέφωνο', 'class' => 'col-8', - 'value' => 'auto', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'password', @@ -340,7 +331,7 @@ define('APPLICATION_FORM', [ 'name' => 'phone', 'label' => 'Τηλέφωνο', 'class' => 'col-5', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'email', |
