{% extends "jobs/base.html" %}
{% load job_tags %}
{% load i18n %}

{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/jobs.css">
{% endblock %}

{% block body %}
<div class="t">
    {% job_nav request.user %}
    <h1>{% trans "Approve" %} {% firstof MODULE_JOBS_LABEL 'Job' %}</h1>
    
    <div class="job-wrap">
    <p><a href="{{ job.get_absolute_url }}" title="{{ job.title }}">{{ job.title }}</a></p>
    <p>{% trans "Are you sure you want to approve this" %} {% firstof MODULE_JOBS_LABEL 'job' %}?</p>
    <form action="{% url job.approve job.pk %}" method="post">{% csrf_token %}
    <div class="forms">
        <input type="submit" value="Yes, approve it." /> or <a href="javascript:history.go(-1);">{% trans "Cancel" %}</a>
    </div>
    </form>
    </div>
</div>
{% endblock %}
