{% extends 'kfet/base.html' %}
{% load widget_tweaks %}
{% load staticfiles %}

{% block title %}Édition de l'article {{ article.name }}{% endblock %}
{% block content-header-title %}Article {{ article.name }} - Édition{% endblock %}

{% block content %}

{% include "kfet/base_messages.html" %}

<div class="row form-only">
  <div class="col-sm-12 col-md-8 col-md-offset-2">
    <div class="content-form">
      <form action="" method="post" class="form-horizontal">
        {% csrf_token %}
        {% include 'kfet/form_snippet.html' with form=form %}
        {% if not perms.kfet.change_article %}
          {% include 'kfet/form_authentication_snippet.html' %}
        {% endif %}
        {% include 'kfet/form_submit_snippet.html' with value="Mettre à jour" %}
      </form>
    </div>
  </div>
</div>

{% endblock %}
