35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
{% extends 'up_squelette.html' %}
|
|
|
|
{% include '_nav_userlogin.html' %}
|
|
|
|
{% block main %}
|
|
|
|
<div class="row">
|
|
<div class="col-sm-1"></div>
|
|
<div class="col-sm-10">
|
|
<br />
|
|
<div class="well">Vous pouvez modifier votre article. Actuellement seule la date de première édition sera publiée. Prochainement : intégration des edit'time dans la base de donnée.</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="lead">
|
|
<form action="" method="POST" id="postform">
|
|
<input type="text" name="title" id="title" placeholder="Titre" class="form-control" value="{{ oldpost[0] }}"><br />
|
|
<textarea class="form-control" form="postform" name="content" id="content" placeholder="Contenu" style="height: 50%;">{{ oldpost[1] }}</textarea><br />
|
|
<div class="row">
|
|
<div class="col-sm-4"></div>
|
|
<div class="col-sm-1"><input type="radio" name="status" value="prive" checked>Privé</div>
|
|
<div class="col-sm-2"></div>
|
|
<div class="col-sm-1"><input type="radio" name="status" value="public">Public<br></div>
|
|
<div class="col-sm-4"></div>
|
|
</div>
|
|
<br />
|
|
<button id="tada" class="btn btn-default btn-primary" type="submit">Publier</button>
|
|
</form>
|
|
</p>
|
|
<br>
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|