Skip to content
Snippets Groups Projects
Commit 5d2c36ee authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] WIP application form & ajax filter

parent ec987f5f
No related branches found
No related tags found
No related merge requests found
......@@ -64,4 +64,13 @@ class JoblistController extends ActionController {
debug(BackendService::getRootUidByPageUid($pageUid));
debug($jobs);
}
public function applyFormAction() {
}
public function applyAction() {
}
}
......@@ -66,6 +66,54 @@
<source>Please select one of the following website roots:</source>
<target>Bitte wählen Sie eine der folgenden Seiten aus:</target>
</trans-unit>
<trans-unit id="frontend.apply.city" approved="yes">
<source>City</source>
<target>Ort</target>
</trans-unit>
<trans-unit id="frontend.apply.country" approved="yes">
<source>Country</source>
<target>Land</target>
</trans-unit>
<trans-unit id="frontend.apply.email" approved="yes">
<source>Email</source>
<target>E-Mail</target>
</trans-unit>
<trans-unit id="frontend.apply.first_name" approved="yes">
<source>First name</source>
<target>Vorname</target>
</trans-unit>
<trans-unit id="frontend.apply.last_name" approved="yes">
<source>Last name</source>
<target>Nachname</target>
</trans-unit>
<trans-unit id="frontend.apply.message" approved="yes">
<source>Message</source>
<target>Ihre Nachricht</target>
</trans-unit>
<trans-unit id="frontend.apply.mobile" approved="yes">
<source>Mobile</source>
<target>Mobil</target>
</trans-unit>
<trans-unit id="frontend.apply.phone" approved="yes">
<source>Phone</source>
<target>Telefon</target>
</trans-unit>
<trans-unit id="frontend.apply.salutation" approved="yes">
<source>Salutation</source>
<target>Anrede</target>
</trans-unit>
<trans-unit id="frontend.apply.street" approved="yes">
<source>Street</source>
<target>Strasse</target>
</trans-unit>
<trans-unit id="frontend.apply.title" approved="yes">
<source>Job title</source>
<target>Job-Titel</target>
</trans-unit>
<trans-unit id="frontend.apply.zip" approved="yes">
<source>Zip code</source>
<target>Postleitzahl</target>
</trans-unit>
<trans-unit id="frontend.applyNow" approved="yes">
<source>Apply online now</source>
<target>Jetzt online bewerben</target>
......
......@@ -51,6 +51,42 @@
<trans-unit id="backend.selectRootPage">
<source>Please select one of the following website roots:</source>
</trans-unit>
<trans-unit id="frontend.apply.city">
<source>City</source>
</trans-unit>
<trans-unit id="frontend.apply.country">
<source>Country</source>
</trans-unit>
<trans-unit id="frontend.apply.email">
<source>Email</source>
</trans-unit>
<trans-unit id="frontend.apply.first_name">
<source>First name</source>
</trans-unit>
<trans-unit id="frontend.apply.last_name">
<source>Last name</source>
</trans-unit>
<trans-unit id="frontend.apply.message">
<source>Message</source>
</trans-unit>
<trans-unit id="frontend.apply.mobile">
<source>Mobile</source>
</trans-unit>
<trans-unit id="frontend.apply.phone">
<source>Phone</source>
</trans-unit>
<trans-unit id="frontend.apply.salutation">
<source>Salutation</source>
</trans-unit>
<trans-unit id="frontend.apply.street">
<source>Street</source>
</trans-unit>
<trans-unit id="frontend.apply.title">
<source>Job title</source>
</trans-unit>
<trans-unit id="frontend.apply.zip">
<source>Zip code</source>
</trans-unit>
<trans-unit id="frontend.applyNow">
<source>Apply online now</source>
</trans-unit>
......
......@@ -66,7 +66,7 @@
</div>
<div>
<f:form action="apply" controller="Joblist">
<f:form action="applyForm" controller="Joblist">
<f:form.submit value="{f:translate(key:'frontend.applyNow')}" />
</f:form>
</div>
......
<f:layout name="Default" />
<f:section name="main">
</f:section>
<f:layout name="Default" />
<f:section name="main">
<f:form action="apply" controller="Joblist" method="post" objectName="applyData" object="{applyData}">
<label for="apply-jobTitle"><f:translate key="frontend.apply.title" /></label>
<f:form.textfield property="jobTitle" id="apply-jobTitle" data="{}" class="" />
<label for="apply-salutation"><f:translate key="frontend.apply.salutation" /></label>
<f:form.textfield property="salutation" id="apply-salutation" data="{}" class="" />
<label for="apply-firstName"><f:translate key="frontend.apply.first_name" /></label>
<f:form.textfield property="firstName" id="apply-firstName" data="{}" class="" />
<label for="apply-lastName"><f:translate key="frontend.apply.last_name" /></label>
<f:form.textfield property="lastName" id="apply-lastName" data="{}" class="" />
<label for="apply-street"><f:translate key="frontend.apply.street" /></label>
<f:form.textfield property="street" id="apply-street" data="{}" class="" />
<label for="apply-city"><f:translate key="frontend.apply.city" /></label>
<f:form.textfield property="street" id="apply-city" data="{}" class="" />
<label for="apply-zip"><f:translate key="frontend.apply.zip" /></label>
<f:form.textfield property="zip" id="apply-zip" data="{}" class="" />
<label for="apply-country"><f:translate key="frontend.apply.country" /></label>
<f:form.textfield property="country" id="apply-country" data="{}" class="" />
<label for="apply-phone"><f:translate key="frontend.apply.phone" /></label>
<f:form.textfield property="phone" id="apply-phone" data="{}" class="" />
<label for="apply-mobile"><f:translate key="frontend.apply.mobile" /></label>
<f:form.textfield property="mobile" id="apply-mobile" data="{}" class="" />
<label for="apply-email"><f:translate key="frontend.apply.email" /></label>
<f:form.textfield property="email" id="apply-email" data="{}" class="" />
<label for="apply-message"><f:translate key="frontend.apply.message" /></label>
<f:form.textarea property="message" id="apply-message" data="{}" class="" />
</f:form>
</f:section>
......@@ -6,7 +6,7 @@
'Joblist',
[
// Cacheable actions
'Joblist' => 'index'
'Joblist' => 'index, applyForm, apply'
],
[
// Uncacheable actions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment