First Commit
This commit is contained in:
commit
ce0758fbbb
496 changed files with 52062 additions and 0 deletions
17
templates/posts/edit_post.html
Normal file
17
templates/posts/edit_post.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{% extends "layout.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2>Modifier le post : {{ post.title }}</h2>
|
||||
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<div class="form-inline">
|
||||
<button type="submit" class="btn btn-primary">Enregistrer</button>
|
||||
<a href="{% url 'contributions' %}" class="btn btn-danger">Annuler</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue