reimbursinator/back/backend/templates/backend/email.html

27 lines
753 B
HTML
Raw Normal View History

2019-02-22 00:18:39 +00:00
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>Title: {{ title }}</h1>
{% for section in sections %}
{% if section.completed %}
<h2>{{section.title}}</h2>
<table border="1">
{% for field in section.fields %}
<tr>
<td>{{field.label}}</td>
<td>{{field.value|default:""}}</td>
</tr>
{% endfor %}
2019-02-22 00:43:39 +00:00
{% for rule in section.rule_violations %}
<tr style="color:#ff3333">
<td colspan=2><strong>{{rule.label}}</strong><br/>{{rule.rule_break_text}}</td>
</tr>
{% endfor %}
2019-02-22 00:18:39 +00:00
</table>
{% endif %}
{% endfor %}
</body>
</html>