summaryrefslogtreecommitdiff
path: root/public/app/config/setup_application.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/app/config/setup_application.php')
-rw-r--r--public/app/config/setup_application.php53
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']
]
]
]);