diff options
| author | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-05-22 18:28:59 +0300 |
|---|---|---|
| committer | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-05-22 18:28:59 +0300 |
| commit | 8f947db6515f2ff2b6b2cd8abaedf297745c2176 (patch) | |
| tree | 172abfb15142ea7b53a4bc99145453be30e375b8 /public/app/config/setup_application.php | |
| parent | d827d5345f778bb9a481e916666c540801108d18 (diff) | |
| download | gyraf1gov-8f947db6515f2ff2b6b2cd8abaedf297745c2176.tar.gz gyraf1gov-8f947db6515f2ff2b6b2cd8abaedf297745c2176.tar.bz2 gyraf1gov-8f947db6515f2ff2b6b2cd8abaedf297745c2176.zip | |
working onto application form
Diffstat (limited to 'public/app/config/setup_application.php')
| -rw-r--r-- | public/app/config/setup_application.php | 53 |
1 files changed, 35 insertions, 18 deletions
diff --git a/public/app/config/setup_application.php b/public/app/config/setup_application.php index ec9a7bb..b87ffae 100644 --- a/public/app/config/setup_application.php +++ b/public/app/config/setup_application.php @@ -138,6 +138,9 @@ define ('PETITION_TYPE', [ + + + // the forms /////////////////////////////////////////////////////////////////// // ----------------------------------------------------------------------------- @@ -258,9 +261,9 @@ define('REGISTRATION_FORM', [ ] ]); -// common requesy form (for any application) +// Application (common request) form // --- -define('COMMON_REQUEST_FORM', [ +define('APPLICATION_FORM', [ 'defaults' => [ 'outer_class' => 'col-12', 'inner_class' => 'form-control', @@ -276,22 +279,37 @@ define('COMMON_REQUEST_FORM', [ [ 'name' => 'first_name', 'label' => 'Όνομα', + 'class' => 'col-5', 'attributes' => ['auto'] ], [ 'name' => 'last_name', 'label' => 'Επίθετο', + 'class' => 'col-7', 'attributes' => ['auto'] ], [ - 'name' => 'email', - 'label' => 'e-mail', - 'type' => 'email', + 'name' => 'father_name', + 'label' => 'Πατρώνυμο', + 'class' => 'col-5', 'attributes' => ['auto'] ], [ - 'name' => 'father_name', - 'label' => 'Πατρώνυμο', + 'label' => '', + 'type' => 'label', + 'class' => 'col-7', + ], + [ + 'name' => 'phone', + 'label' => 'Τηλέφωνο', + 'class' => 'col-5', + 'attributes' => ['required'] + ], + [ + 'name' => 'email', + 'label' => 'e-mail', + 'type' => 'email', + 'class' => 'col-7', 'attributes' => ['auto'] ], [ @@ -303,6 +321,7 @@ define('COMMON_REQUEST_FORM', [ [ 'name' => 'sector', 'label' => 'Κλάδος / Ειδικότητα', + 'class' => 'col-7', 'attributes' => ['auto'] ], [ @@ -316,28 +335,26 @@ define('COMMON_REQUEST_FORM', [ 'attributes' => ['required'] ], [ + 'name' => 'date', + 'label' => 'Ημερομηνία αίτησης', + 'type' => 'date', + 'class' => 'col-5', + 'attributes' => ['required'] + ], + [ 'name' => 'position', 'label' => 'Θέση', 'type' => 'select', + 'class' => 'col-7', 'source' => 'positions', 'attributes' => ['required'] ], [ - 'name' => 'phone', - 'label' => 'Τηλέφωνο', - 'attributes' => ['required'] - ], - [ 'name' => 'request', 'label' => 'Αίτημα (πχ, Παρακαλώ να μου χορηγήσετε ...)', + 'class' => 'col-12 x7-lines', 'type' => 'textarea', 'attributes' => ['required'] - ], - [ - 'name' => 'date', - 'label' => 'Ημερομηνία αίτησης', - 'type' => 'date', - 'attributes' => ['required'] ] ] ]); |
