templates/proposition_dissertations_jury_edit_inner.html
{% load static %}
{% load bootstrap3 i18n %}
<div class="page-header col-md-offset-3">
<h2>{% trans 'Add/Edit dissertation' %}</h2>
</div>
<div class="modal-body" id="form-modal-body">
<form method="POST" id="form-modal" class="post-form" action="{{ request.get_full_path }}">
{% csrf_token %}
{% bootstrap_field form.proposition_dissertation %}
{% bootstrap_field form.status %}
<div>
{% bootstrap_field form.adviser %}
</div>
<div class="row">
<div class="col-md-8 col-md-offset-1">
{% if manager %}
{% trans 'If the concerned teacher is not in the list, you can' %}
<a href="{% url 'manager_informations_add' %}" id="lnk_informations_add"
title="{% trans 'Informations'%}">{% trans 'Add teacher' %}</a>
{% else %}
{% trans 'If the concerned teacher is not in the list, you can' %}
<a href="{% url 'informations_add' %}" id="lnk_informations_add"
title="{% trans 'Informations'%}">{% trans 'Add teacher' %}</a>
{% endif %}
</div>
</div>
</form>
{{ form.media }}
</div>
<div class="modal-footer" style="text-align:right">
<button type="submit" class="save btn btn-primary" onclick="$('#form-modal').submit();">{% trans 'Save' %}</button>
</div>