summaryrefslogtreecommitdiff
path: root/templates/macros.html
blob: a84624f80eef09c9f4033f66fe88c53a12f5544d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% macro form(to, domain, reply=False) %}
<form action="mailto:{{ to }}@{{ domain }}" method="GET" class="submit">
  <a name="ReplyForm"></a>
  {% if reply %}
  <h5 class="form" > Reply </h4>
{% else %}
<h5 class="form" > Submit a bug </h4>
<label for="subject">Subject: </label><input name="subject" type="text" /><br>
{% endif %}
<label for="body">Description of bug:</label><br><textarea name="body"></textarea><br>
<input type="submit" value="Open mail program to submit bug report" />
</form>
{% endmacro %}