Hacking towards the second.py functionality
This commit is contained in:
19
magic_app/templates/app_install.html
Normal file
19
magic_app/templates/app_install.html
Normal file
@ -0,0 +1,19 @@
|
||||
{% 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>
|
Reference in New Issue
Block a user