1
1
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
744 B
HTML

{% extends 'layout/base.html' %}
{% from "_formhelpers.html" import errors %}
{% block content %}
<form action="" method="post" enctype="multipart/form-data">
<h2>Upload post</h2>
{{ form.csrf_token }}
<div>
{{ form.post_img.label }} {{ form.post_img() }}
{{ errors(form.post_img) }}
</div>
<div>
{{ form.sauce(placeholder="Source URL") }}
{{ errors(form.sauce) }}
</div>
<div>
{{ form.tags(placeholder="Tags") }}
{{ errors(form.tags) }}
</div>
<div>
{{ form.rating.label }} {% for r in form.rating %}<br>{{ r() }} {{ r.label }}{% endfor %}
{{ errors(form.rating) }}
</div>
<div>{{ form.submit() }}</div>
</form>
{% endblock content %}