aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search_macros.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-14 02:38:29 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-14 02:38:29 -0700
commit541f13f8325b8a17181e0d0c9d559a58b892298b (patch)
treebd37948a29966b9b4a3799e570ae4d7b4a5e899e /fatcat_scholar/templates/search_macros.html
parent66716ff9ca395d1eb9293529d7cdc612ba86bf6e (diff)
downloadfatcat-scholar-541f13f8325b8a17181e0d0c9d559a58b892298b.tar.gz
fatcat-scholar-541f13f8325b8a17181e0d0c9d559a58b892298b.zip
html: structure more semantic
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r--fatcat_scholar/templates/search_macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index 9559303..80d3bfc 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -313,7 +313,7 @@
{% endmacro %}
{% macro query_option(options, selected) -%}
-<span style="color: rgba(0,0,0,0.4);">{{ _(options.label) }}</span>
+<label for="{{ options.slug }}" style="color: rgba(0,0,0,0.4);">{{ _(options.label) }}</label>
<div class="ui link list" style="margin-top: 0.3em;">
{% for opt in options.list %}
<button class="text-button" form="search_form" type="submit" name="{{ options.slug }}" value="{{ opt.slug }}">