From 04c16b50fe88512eec064c8d56792d5fd9bc4edc Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 29 Sep 2022 16:35:26 +0000 Subject: [PATCH] Flesh out letter-adding. Add new-letter button. Refactor _formhelpers for increased modularity. Re-style + {% else %} @@ -62,8 +62,17 @@
{% if username %} - {{ render_field(form.letterName, onchange="window.location = '/?letter_name=' + this.options[this.value - 1].label") }} - + +
+ {{ render_label(form.letterName) }} +
+ {{ render_input( + form.letterName, + onchange="window.location = '/?letter_name=' + this.options[this.value - 1].label" + ) + }} + + +
+
{% endif %} {{ render_field(form.username) }} {{ render_field(form.company) }}