{% extends "base.html" %}
{% load i18n %}
{% load translations %}
{% load crispy_forms_tags %}

{% block breadcrumbs %}
<li><a href="{{ object.get_absolute_url }}">{{ object }}</a></li>
<li><a href="{% url 'settings' project=object.slug %}">{% trans "Settings" %}</a></li>
{% endblock %}

{% block content %}
<form action="{% url 'settings' project=object.slug %}" method="post" enctype="multipart/form-data">
{% csrf_token %}
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
{% documentation_icon 'admin/projects' 'project' right=True %}
{% trans "Settings" %}
</h4>
</div>
<div class="panel-body">
{% crispy settings_form %}
</div>
<div class="panel-footer">
<input type="submit" value="{% trans "Save" %}" class="btn btn-primary" />
</div>
</div>
</form>
{% endblock %}
