{% extends "hdabo_base.html" %}
{% block title %}HDA - BO : Créer ou modifier un dossier{% endblock %}
    
{% block content %}
{{block.super}}
<form method="POST" action="{% url 'add_or_update_folder' %}">
{% csrf_token %}
<input type="hidden" name="pk" value="{% if folder %}{{folder.pk}}{% endif %}" />
<p>Url (adresse de la page sur le portail Histoire de Arts)&nbsp;:<br/><input class="folder-input" type="text" name="url" value="{% if folder %}{{folder.url}}{% endif %}"/></p>
<p>Titre&nbsp;:<br/><input class="folder-input" type="text" name="title" value="{% if folder %}{{folder.title}}{% endif %}"/></p>
<p>Description&nbsp;:<br/><textarea class="folder-input" name="description">{% if folder %}{{folder.description}}{% endif %}</textarea></p>
<button type="submit">Envoyer</button>
</form>
{% endblock %}
