I am trying to make a website which has solutions of a book (5 chapters). Firstly, I want to open chapters.html with route /chapters which displays five submit buttons and chapter no. as their values.
<form action="/{{ chapter }}" method="POST">
<input type="submit" value="Chapter 1">...