Nothing is appearing on /sheet, not even the header. However, the .csv file is generating as intended. Can you help figure out what is wrong with my process?
{% extends "layout.html" %}
{% block body %}
<h1>Submitted Itineraries</h1>
<ul>
{% for travel in holidayTravel %}
<li> {{holidayTravel[0]}}, {{holidayTravel[1] }} {{holidayTravel[2]}} {{holidayTravel[4]}} at {{holidayTravel[3]}}-->
</li>
{% endfor %}
</ul>
{% endblock %}
I have a feeling that it has to do with how I'm using the list 'holidayTravel' but I'm spinning my wheels trying to figure out what I should be doing differently.
layout.html
does not have a body block. Did you mean{% block main %}
instead of{% block body %}
?