Skip to content

Commit 67bcc85

Browse files
committed
Adds capfirst to download button.
1 parent ed05b92 commit 67bcc85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/books/view_chapter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h3><em>{% for contributor in chapter.contributors.all %}{% if not forloop.first
2323
{% elif forloop.last and not forloop.first %} & {% endif %}{{ contributor }}{% endfor %}</em></h3>
2424
<p>This {% if book.category %}{{ book.category.chapter_name }}{% else %}chapter{% endif %} is part of: {{ book.citation|safe }}</p>
2525
<a href="{% url 'books_download_chapter' book.pk chapter.pk %}" class="button"><i class="fa fa-download">&nbsp;</i> Download
26-
{% if book.category %}{{ book.category.chapter_name }}{% else %}Chapter{% endif %}</a>
26+
{% if book.category %}{{ book.category.chapter_name|capfirst }}{% else %}Chapter{% endif %}</a>
2727
<table class="table" style="margin-bottom: 0;">
2828
<tr>
2929
<th>Description</th>

0 commit comments

Comments
 (0)