Nekrocuck
This commit is contained in:
20
templates/edit-posts.html
Normal file
20
templates/edit-posts.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Upravit příspěvky{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h1 class="title">Upravit příspěvky</h1>
|
||||
<hr>
|
||||
<form method="post" action="/actions/edit-posts">
|
||||
{% for post in posts %}
|
||||
<div class="box">
|
||||
<b>Příspěvek #{{ post.id }} na /{{ post.board }}/</b>
|
||||
<textarea class="edit-box" name="{{ post.board }}/{{ post.id }}">{{ post.content_nomarkup }}</textarea>
|
||||
</div>
|
||||
<hr>
|
||||
{% endfor %}
|
||||
<input class="button full-width" type="submit" value="Upravit">
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user