| Conditions | 1 |
| Paths | 1 |
| Total Lines | 39 |
| Code Lines | 25 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function init() |
||
| 26 | { |
||
| 27 | $this->addTextElement( |
||
| 28 | 'Search', |
||
| 29 | /*@translate*/ 'search for position or company' |
||
| 30 | ); |
||
| 31 | |||
| 32 | |||
| 33 | $this->add( |
||
| 34 | array( |
||
| 35 | 'type' => 'Jobs/StatusSelect', |
||
| 36 | 'options' => [ |
||
| 37 | 'include_all_option' => true, |
||
| 38 | 'span' => 6 |
||
| 39 | ], |
||
| 40 | 'attributes' => array( |
||
| 41 | 'value' => 'all', |
||
| 42 | 'style' => 'width: 100%' |
||
| 43 | ) |
||
| 44 | ) |
||
| 45 | ); |
||
| 46 | |||
| 47 | $this->add( |
||
| 48 | array( |
||
| 49 | 'type' => 'Jobs/ActiveOrganizationSelect', |
||
| 50 | 'property' => true, |
||
| 51 | 'name' => 'companyId', |
||
| 52 | 'options' => array( |
||
| 53 | 'label' => /*@translate*/ 'Companyname', |
||
| 54 | 'span' => 6, |
||
| 55 | ), |
||
| 56 | 'attributes' => array( |
||
| 57 | 'data-placeholder' => /*@translate*/ 'Select hiring organization', |
||
| 58 | 'class' => 'form-control', |
||
| 59 | 'style' => 'width: 100%', |
||
| 60 | ), |
||
| 61 | ) |
||
| 62 | ); |
||
| 63 | } |
||
| 64 | } |
||
| 65 |