diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-07-17 16:00:44 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-07-17 16:00:44 +0200 |
commit | b94a6df756f80890ca0c04d9c08e05eb7b87870c (patch) | |
tree | 74a34ddded993d2428506a290ec369c87899e960 /templates/macros.html | |
parent | 95679599de538a4833dd873f0630e5819b60db10 (diff) | |
download | hemiptera-b94a6df756f80890ca0c04d9c08e05eb7b87870c.tar.gz hemiptera-b94a6df756f80890ca0c04d9c08e05eb7b87870c.tar.bz2 hemiptera-b94a6df756f80890ca0c04d9c08e05eb7b87870c.zip |
Various html improvements
Diffstat (limited to 'templates/macros.html')
-rw-r--r-- | templates/macros.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/macros.html b/templates/macros.html new file mode 100644 index 0000000..a84624f --- /dev/null +++ b/templates/macros.html @@ -0,0 +1,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 %} |