44 lines
1.8 KiB
HTML
44 lines
1.8 KiB
HTML
{% extends 'base.html' %}
|
|
{% load rules %}
|
|
{% block body_content %}
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
|
|
<h1 class="display-4">
|
|
<a href="{{ job.get_absolute_url }}">{{ job.title }}</a>
|
|
</h1>
|
|
<p class="lead"></p>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h6 class="card-subtitle mb-2 text-muted">
|
|
{% for tag in job.tags.all %}
|
|
<a href="#" class="badge badge-info h6">{{tag.name}}</a>
|
|
{% endfor %}
|
|
</h6>
|
|
<p class="card-text">{{ job.description }}</p>
|
|
{% for question in job.questions.all %}
|
|
{% if forloop.counter0 == 0 %}
|
|
<h5>Screening Questions:</h5>
|
|
{% endif %}
|
|
- {{question.name}} <br/>
|
|
{% endfor %}
|
|
<br/>
|
|
{% has_perm 'jobs.change_job' request.user job as can_change_job %}
|
|
{% if can_change_job %}
|
|
|
|
<a href="{% url 'jobs:job_applications' job.pk %}">
|
|
Applications ({{job.applications.count}})</span>
|
|
</a>
|
|
<form method="POST" action="{% url 'jobs:job_renew' job.pk %}">
|
|
{% csrf_token %}
|
|
<button type="submit" class="btn btn-primary">Renew Job</button>
|
|
</form>
|
|
{% else %}
|
|
<a href="{% url 'jobs:job_apply' job.pk %}" class="card-link">Apply</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |