Add candidate and employer templates, application form, and new password functionality
- Created 'dla-kandydata.php' template for candidates with job offers and registration options. - Developed 'dla-pracodawcy.php' template for employers detailing how Globelus works and registration for new employers. - Implemented 'advert-apply.php' for job applications, including form validation and file upload for CVs. - Added 'new-password.php' for users to set a new password with validation for password strength and matching.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<?
|
||||
global $lang;
|
||||
$countries = \front\factory\Globelus::countries();
|
||||
$countries_visible = [
|
||||
'- dowolny -', 'Austria', 'Belgia', 'Czechy', 'Dania', 'Finlandia', 'Francja', 'Holandia', 'Niemcy', 'Norwegia', 'Polska', 'Szwajcaria', 'Szwecja'
|
||||
]
|
||||
?>
|
||||
<form method="GET" action="/oferty-pracy" id="simple-search">
|
||||
<input type="hidden" name="filtr" value="true">
|
||||
@@ -8,6 +11,7 @@
|
||||
<input type="text" name="k" class="form-control" value="" placeholder="słowo kluczowe, stanowisko, miasto, pracodawca">
|
||||
<select name="c2[]">
|
||||
<? foreach ( $countries as $country ):?>
|
||||
<? if ( !in_array( $country['name'], $countries_visible ) ) continue;?>
|
||||
<option value="<?= $country['id']; ?>"><?= $country['name'];?></option>
|
||||
<? endforeach;?>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user