aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-07-28 12:51:09 -0400
committerBen Burwell <ben@benburwell.com>2019-07-28 12:52:22 -0400
commit92532e125130b1bf51d070c0f410e37f9a24a2c1 (patch)
tree4ccec5c76f85058c09d025db0980e4dd2232b01b /templates
parent1afcb2cd6e39e043c4d0f83f1e463dc0041f85a7 (diff)
Add more/less form
Diffstat (limited to 'templates')
-rw-r--r--templates/beerpage.jinja219
1 files changed, 18 insertions, 1 deletions
diff --git a/templates/beerpage.jinja2 b/templates/beerpage.jinja2
index 1fead45..23ed6bf 100644
--- a/templates/beerpage.jinja2
+++ b/templates/beerpage.jinja2
@@ -21,4 +21,21 @@
<select>
</select>
</div>
-{% endblock %} \ No newline at end of file
+
+ <div class="row">
+ {% for attr in attrs %}
+ <div class="col col-3">
+ <select class="form-control" name="{{ attr }}">
+ <option value="-3">A lot less {{ attr }}</option>
+ <option value="-2">Less {{ attr }}</option>
+ <option value="-1">A little less {{ attr }}</option>
+ <option value="0" selected>Same {{ attr }}</option>
+ <option value="1">A little more {{ attr }}</option>
+ <option value="2">More {{ attr }}</option>
+ <option value="3">A lot more {{ attr }}</option>
+ </select>
+ </div>
+ {% endfor %}
+ </div>
+
+{% endblock %}