Templates using Picnic
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
c v t
2020-07-05 17:33:29 +02:00
parent d6bf70e5bc
commit efc3c98ba4
8 changed files with 63 additions and 52 deletions

View File

@ -1,19 +1,14 @@
{% extends "base.html" %}
{% from "macros.html" import with_errors %}
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<title>Install {{ app_name | capitalize }}</title>
</head>
<body>
<p>Install {{ app_name | capitalize }}</p>
<form method="POST" action="{{ url_for("apps.install", app_name=app_name) }}">
{% for field in form %}
{{ field.label() }} {{ with_errors(field, style='font-weight: bold') }}
{% endfor %}
<input type="submit" value="Install" />
</form>
</body>
</html>
</html>
{% block title %}Install {{ app_name }} {{ super() }}{% endblock %}
{% block content %}
<h1>Install {{ app_name }}</h1>
<form method="POST" action="{{ url_for("apps.install", app_name=app_name) }}">
{% for field in form %}
{{ field.label() }} {{ with_errors(field, style='font-weight: bold') }}
{% endfor %}
<input type="submit" value="Install" />
</form>
{% endblock content %}