{% extends 'base.html' %} {% load static %} {% block content %}

Search results for {{ request.GET.job_title }}

{% for job in jobs %}

{{ job.title }}

{% if job.job_type == 'full_time' %} Full Time {% elif job.job_type == 'part_time'%} Part Time {% elif job.job_type == 'freelance'%} Freelance {% elif job.job_type == 'internship'%} Internship {% elif job.job_type == 'temporary'%} Temporary {% endif %}
{{ job.location }}
{% endfor %}
{% if is_paginated %}
    {% if page_obj.has_previous %}
  • <
  • {% else %}
  • <
  • {% endif %} {% for i in paginator.page_range %} {% if page_obj.number == i %}
  • {{ i }}
  • {% else %}
  • {{ i }}
  • {% endif %} {% endfor %} {% if page_obj.has_next %}
  • >
  • {% else %}
  • >
  • {% endif %}
{% endif %}
{% endblock %}