{% comment %} Apply actions for job detail pages. Supports PezaJob-only, external-only, or both. Usage: {% include 'jobs/partials/apply_actions.html' with layout='bar' %} {% endcomment %} {% if layout == 'bar' %}
{% else %}
{% endif %} {% if apply_both_methods %} {% if user.is_authenticated and user.is_seeker %} {% elif user.is_authenticated %} Register as Job Seeker {% else %} Apply through PezaJob {% endif %} {% if layout == 'bar' %}
OR
{% else %}
OR
{% endif %} {% if apply_email %} Apply by Email {% else %} Apply by Email {% endif %} {% elif apply_via_pezajob %} {% if user.is_authenticated and user.is_seeker %} {% elif user.is_authenticated %} Register as Job Seeker to Apply {% elif apply_requires_account %} Apply through PezaJob {% else %} {% endif %} {% elif apply_via_external %} {% if apply_email %} Apply by Email {% else %} How to Apply {% endif %} {% endif %}