{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('assets/generated/tailwind.css')|cdnifyUri }}">
<link rel="stylesheet" href="{{ asset('assets/generated/living_styleguide.css') }}">
{% endblock %}
{% if not form.vars.valid %}
<div class="jlls-alert jlls-alert-danger">
<div class="jlls-alert-body jlls-alert-body-danger">
<p>{{ 'wanted_jobs_search.form_page.form_not_valid'|trans }}</p>
</div>
</div>
{% endif %}
{{ form_start(form, { 'attr': {'autocomplete': 'off'} }) }}
{{ include('wanted_jobs_search/_includes/filter_modal.html.twig') }}
{% set limitedInSearch = limitedInSearch is defined ? limitedInSearch : null %}
{% set joboffererProfileId = joboffererProfileId is defined ? joboffererProfileId : null %}
<div class="jtw-form-card tw-rounded-xl">
<div class="jlls-card-title tw-rounded-t-xl">
<span class="jlls-card-title-text">{{ 'wanted_jobs_search.form_page.headline'|trans }}</span>
</div>
<div class="jtw-form-card-main-content tw-rounded-b-xl">
{{ include(
'_includes/formSearch/form_search_section.html.twig',
{
label: 'wanted_jobs_search.form_page.search_section_title',
limitedInSearch: limitedInSearch,
joboffererCanEditZipcodeForWantedJobsSearch: joboffererProfileCanEditZipcodeForWantedJobsSearch is defined and not joboffererProfileCanEditZipcodeForWantedJobsSearch,
joboffererProfileId:joboffererProfileId,
recurrentJobForm: false
}
) }}
<div class="tw-flex tw-flex-row tw-justify-between tw-w-full">
<button type="button" class="jlls-button-secondary tw-flex tw-items-center tw-gap-2" data-toggle="modal" data-target="#filter-modal">
Filter
<i class="fa fa-chevron-down"></i>
</button>
<button id="button-submit-search" type="submit" name="searchButton"
class="jlls-button-tertiary">{{ 'wanted_jobs_search.form_page.search' |trans }}</button>
</div>
{% if addFeatureFlagKey is defined and addFeatureFlagKey == constant('App\\Service\\FeatureFlagService::ENABLED_FOR_REQUEST_IF_REQUEST_CORRECT') %}
<input type="hidden" id="{{ constant('App\\Service\\FeatureFlagService::REQUEST_KEY_NAME') }}"
name="{{ constant('App\\Service\\FeatureFlagService::REQUEST_KEY_NAME') }}"
value="{{ constant('App\\Service\\FeatureFlagService::REQUEST_KEY_VALUE') }}">
{% endif %}
</div>
</div>
{% if not resultPage %}
<div class="jlls-card">
<div class="p-4 d-none d-md-block"><img src="{{ asset('assets/images/js-suche/js_suche_stats.png')|cdnifyUri }}" alt="" width="100%"></div>
<div class="p-4 d-md-none"><img src="{{ asset('assets/images/js-suche/js_suche_stats_mobil.png')|cdnifyUri }}" alt="" width="100%"></div>
</div>
{% endif %}
<div class="invisible" style="height: 70px" id="scroll-here"></div>
{{ form_end(form) }}
{% set defaultJoboffererProfileId = app.user ? app.user.defaultJoboffererProfile.id : null %}
{{ include('wanted_jobs_search/_includes/form_zipCode_modal.html.twig', { title: 'wanted_jobs_search.form_page.modal_title', content: 'wanted_jobs_search.form_page.modal_content', buttonText:'wanted_jobs_search.form_page.modal_button_text', userId: defaultJoboffererProfileId, limitedInSearch: limitedInSearch }) }}
{{ include('wanted_jobs_search/_includes/please_wait_modal.html.twig') }}