Welcome! You’re more likely to get assistance if you post the relevent view and template here. Few people are interested in going through a complete project to try and find an issue without some idea of where to begin.
If you’re having multiple problems, pick one and we’ll address it first.
When posting code here, enclose it between lines of 3 backtick - ` characters. This means that you’ll have a line of ```, then your code, then another line of ```.