whitespace and tag fixes in html template

parent a41cd9a1
......@@ -14,13 +14,13 @@
{% block sidebarcontent %}
<h1 class="sidebar-title">Available Languages</h1>
<div class="sidebar-content">
<h2>Available natlangs</h1>
<h2>Available natlangs</h2>
<ul>
{% for lang in natlangs %}
<li>{{lang}}</li>
{% endfor %}
</ul>
<h2>Available conlangs</h1>
<h2>Available conlangs</h2>
<ul>
{% for lang in conlangs %}
<li>{{lang}}</li>
......@@ -56,6 +56,6 @@
<submit class="form-style">
<input type="submit" value="Let’s Go!">
</submit>
</div>
</div>
</form>
{% endblock %}
......@@ -55,7 +55,7 @@ class IndexView(View):
'conlangs': Language.objects.filter(conlang=True),
'natlangs': Language.objects.filter(conlang=False),
'error_message': self.error_message,
})
})
class WordListView(ListView):
......@@ -79,7 +79,7 @@ class WordListView(ListView):
def get_context_data(self, **kwargs):
"""
Get some additional values
"""
"""
context = super(WordListView, self).get_context_data(**kwargs)
context['conwords'] = Word.objects.filter(
language__code=self.kwargs['conlang'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment