{% extends 'base.html' %}

{% block content %}
    <h1>{% trans "Jobs offers" %}</h1>
    <div class="liste">
        {% for offer in offers %}
            <div class="bloc">
                <h2>{{ offer.title }}</h2>
                <span class="date">{{ offer.pub_date }}</span>
                <span class="type">{{ offer.type }}</span> - {{ offer.city }}
                <p>{{ offer.short_desc|safe }}</p>
                <a href="{{ offer.get_absolute_url }}">{% trans "More informations" %}</a>
            </div>
        {% empty %}
            <p>{% trans "No jobs offers" %}</p>
        {% endfor %}
    </div>
{% endblock %}
