{% extends 'base.html' %}

{% block content %}
    <h1>{% trans "Job Offer" %} : {{ offer.title }}</h1>
    <p>{{ offer.pub_date }}</p>
    <h2>{% trans "Job presentation" %}</h2>
    <p>{{ offer.type }}<br />
        {{ offer.job_desc|safe }}
    </p>
    <h2>{% trans "Profile" %}</h2>
    <p>{{ offer.job_profile|safe }}</p>
        {% if offer.more_informations %}
            <h2>{% trans "More informations" %}</h2>
            <p>{{ offer.more_informations|safe }}</p>
        {% endif %}
    <h2>{% trans "Place" %}</h2>
    <p>{{ offer.company_name }}<br />
        {{ offer.zip }} {{ offer.city }}
    </p>
    <h2>{% trans "Date of beginning" %}</h2>
    <p>
        {% if offer.begin_date %}
            {{ offer.begin_date }}
        {% else %}
            {% trans "Not know" %}
        {% endif %}
    </p>
    <button onclick="parent.location='{{ request.build_absolute_uri }}/application/'">{% trans "Apply" %}</button>
{% endblock %}
