@@ -100,7 +100,7 @@ |
||
100 | 100 | 'link' => $this->router->assemble( |
101 | 101 | ['id' => $this->application->getId()], |
102 | 102 | ['name'=>'lang/applications/detail', 'force_canonical'=>true] |
103 | - ), |
|
103 | + ), |
|
104 | 104 | ]; |
105 | 105 | |
106 | 106 | $this->setTo($this->user->getInfo()->getEmail(), $this->user->getInfo()->getDisplayName(false)); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | 'options' => [ |
39 | 39 | 'enable_descriptions' => true, |
40 | 40 | 'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' . |
41 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
41 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
42 | 42 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
43 | 43 | ], |
44 | 44 | ], |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | 'options' => [ |
58 | 58 | 'enable_descriptions' => true, |
59 | 59 | 'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' . |
60 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
60 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
61 | 61 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
62 | 62 | ], |
63 | 63 | ], |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | 'options' => [ |
77 | 77 | 'enable_descriptions' => true, |
78 | 78 | 'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.'. |
79 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
79 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
80 | 80 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
81 | 81 | ], |
82 | 82 | ], |
@@ -34,44 +34,44 @@ |
||
34 | 34 | { |
35 | 35 | |
36 | 36 | $this->add( |
37 | - [ |
|
38 | - 'name' => 'l', |
|
39 | - 'type' => 'LocationSelect', |
|
40 | - 'options' => [ |
|
41 | - 'label' => /*@translate*/ 'Location', |
|
42 | - 'span' => 3, |
|
43 | - 'location_entity' => Location::class, |
|
44 | - ], |
|
45 | - 'attributes' => [ |
|
46 | - 'data-width' => '100%', |
|
47 | - ], |
|
48 | - ] |
|
37 | + [ |
|
38 | + 'name' => 'l', |
|
39 | + 'type' => 'LocationSelect', |
|
40 | + 'options' => [ |
|
41 | + 'label' => /*@translate*/ 'Location', |
|
42 | + 'span' => 3, |
|
43 | + 'location_entity' => Location::class, |
|
44 | + ], |
|
45 | + 'attributes' => [ |
|
46 | + 'data-width' => '100%', |
|
47 | + ], |
|
48 | + ] |
|
49 | 49 | ); |
50 | 50 | |
51 | 51 | $this->add( |
52 | - [ |
|
53 | - 'name' => 'd', |
|
54 | - 'type' => 'Zend\Form\Element\Select', |
|
55 | - 'options' => [ |
|
56 | - 'label' => /*@translate*/ 'Distance', |
|
57 | - 'value_options' => [ |
|
58 | - '5' => '5 km', |
|
59 | - '10' => '10 km', |
|
60 | - '20' => '20 km', |
|
61 | - '50' => '50 km', |
|
62 | - '100' => '100 km' |
|
63 | - ], |
|
64 | - 'span' => 4, |
|
52 | + [ |
|
53 | + 'name' => 'd', |
|
54 | + 'type' => 'Zend\Form\Element\Select', |
|
55 | + 'options' => [ |
|
56 | + 'label' => /*@translate*/ 'Distance', |
|
57 | + 'value_options' => [ |
|
58 | + '5' => '5 km', |
|
59 | + '10' => '10 km', |
|
60 | + '20' => '20 km', |
|
61 | + '50' => '50 km', |
|
62 | + '100' => '100 km' |
|
63 | + ], |
|
64 | + 'span' => 4, |
|
65 | 65 | |
66 | - ], |
|
67 | - 'attributes' => [ |
|
68 | - 'value' => '10', // default distance |
|
69 | - 'data-searchbox' => -1, // hide the search box |
|
70 | - 'data-allowclear' => 'false', // allow to clear a selected value |
|
71 | - 'data-placeholder' => /*@translate*/ 'Distance', |
|
72 | - 'data-width' => '100%', |
|
73 | - ] |
|
74 | - ] |
|
66 | + ], |
|
67 | + 'attributes' => [ |
|
68 | + 'value' => '10', // default distance |
|
69 | + 'data-searchbox' => -1, // hide the search box |
|
70 | + 'data-allowclear' => 'false', // allow to clear a selected value |
|
71 | + 'data-placeholder' => /*@translate*/ 'Distance', |
|
72 | + 'data-width' => '100%', |
|
73 | + ] |
|
74 | + ] |
|
75 | 75 | ); |
76 | 76 | } |
77 | 77 | } |
78 | 78 | \ No newline at end of file |