mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-24 01:36:25 +01:00
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
<h2>{% block title %}Modifier "{{ partition.name }}"{% endblock %}</h2>
|
|
<br/>
|
|
|
|
<form action="/partition/{{ partition.uuid }}/edit" method="post" enctype="multipart/form-data">
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>Fichier</td>
|
|
<td><a href="/partition/{{ partition.uuid }}"><img class="partition-thumbnail" src="/static/thumbnails/{{ partition.uuid }}.jpg"></a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Titre</td>
|
|
<td><input name="name" type="text" value="{{ partition.name }}" placeholder="Titre" required /><br/></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Auteur</td>
|
|
<td><input name="author" type="text" value="{{ partition.author }}" placeholder="Auteur" /><br/></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Paroles</td>
|
|
<td><textarea id="paroles" name="body" type="text" placeholder="Paroles">{{ partition.body }}</textarea><br/></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<input type="submit" value="Mettre à jour" />
|
|
</form>
|
|
<a href="/partition/{{ partition.uuid }}/delete">
|
|
<button id="delete-partition">Supprimer</button>
|
|
</a>
|
|
|
|
{% endblock %} |