contentdb/app/templates/packages/screenshot_new.html

23 lines
704 B
HTML
Raw Normal View History

2018-03-26 11:52:25 +02:00
{% extends "base.html" %}
{% block title %}
2022-01-27 19:21:47 +01:00
{{ _("Add a screenshot") }} - {{ package.title }}
2018-03-26 11:52:25 +02:00
{% endblock %}
{% block content %}
2022-01-08 00:27:00 +01:00
<h1>{{ _("Add a screenshot") }}</h1>
2022-01-26 03:51:40 +01:00
<p class="mb-4">
{{ _("The recommended resolution is 1920x1080, and screenshots must be at least %(width)dx%(height)d.",
width=920, height=517) }}
</p>
2020-12-06 05:22:56 +01:00
2018-03-26 11:52:25 +02:00
{% from "macros/forms.html" import render_field, render_submit_field %}
<form method="POST" action="" enctype="multipart/form-data">
{{ form.hidden_tag() }}
{{ render_field(form.title) }}
2023-12-15 17:23:07 +01:00
{{ render_field(form.file_upload, fieldclass="form-control-file", accept="image/png,image/jpeg,image/webp") }}
2018-03-26 11:52:25 +02:00
{{ render_submit_field(form.submit) }}
</form>
{% endblock %}