Skip to content

Commit

Permalink
fixes heading template
Browse files Browse the repository at this point in the history
  • Loading branch information
actlikewill committed Jul 16, 2024
1 parent 3f6b421 commit 114c767
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lawlibrary/templates/liiweb/legislation_list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "liiweb/legislation_list.html" %}
{% load i18n %}
{% block page-heading %}
{% block page-title %}
<h1 class="my-4">{% trans 'National Legislation' %}</h1>
{% endblock %}
{% block legislation-nav %}
Expand Down
12 changes: 6 additions & 6 deletions peachjam/views/generic_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,18 +196,18 @@ def add_facets(self, context):
"options": natures,
"values": self.request.GET.getlist("natures"),
},
"alphabet": {
"label": _("Alphabet"),
"type": "radio",
"options": lowercase_alphabet(),
"values": self.request.GET.get("alphabet"),
},
"taxonomies": {
"label": _("Topics"),
"type": "checkbox",
"options": taxonomies,
"values": self.request.GET.getlist("taxonomies"),
},
"alphabet": {
"label": _("Alphabet"),
"type": "radio",
"options": lowercase_alphabet(),
"values": self.request.GET.get("alphabet"),
},
}

def group_documents(self, documents, group_by=None):
Expand Down

0 comments on commit 114c767

Please sign in to comment.