diff --git a/lms/templates/static_pdfbook.html b/lms/templates/static_pdfbook.html index 013413b62d..565a59977a 100644 --- a/lms/templates/static_pdfbook.html +++ b/lms/templates/static_pdfbook.html @@ -90,41 +90,40 @@ -%if 'chapters' in textbook: -
+ %if 'chapters' in textbook: +
+
-%endif + % for (index, entry) in enumerate(textbook['chapters']): + ${print_entry(entry, index+1)} + % endfor + +
+ %endif
- - - -
- - +
+ + +
+
+