1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{% extends "base_admin.html" %}
{% block title %}{{ form.title }} · {{ design.project_name | default('RustIO') }}{% endblock %}
{% block admin_content %}
{# Page header — breadcrumb leads back to the list view when we can
work out its URL, otherwise just back to the dashboard. The list
URL is the form action minus the trailing /new or //edit. #}
Home
/
Back
/
{{ form.title }}
{{ form.title }}
Cancel
{{ form.submit_label | default('Save changes') }}
{% if form.error %}
{{ form.error }}
{% endif %}
{% set is_edit = form.editing_id is defined and form.editing_id %}
{% for field in form.fields %}
{{ field.label }}{% if field.required %} *{% endif %}
{{ field.control | safe }}
{% if field.help %}
{{ field.help }}
{% endif %}
{% if field.error %}
{{ field.error }}
{% endif %}
{% endfor %}
Cancel
{{ form.submit_label | default('Save changes') }}
{% if is_edit %}
About
ID#{{ form.editing_id }}
{% endif %}
{% endblock %}