Almost all of the form definitions have been moved to macros defined in form.html. The exception is forms that are already in manage-files.html, which I decided to keep as is, at least for the time being.
The reason for this change is that it's easier to deal with all things form related if they are all in a single location, and this also makes the page templates a little more succinct and readable.
The server code has been fixed to send the appropriate limits dictionary to all the forms that have limit definitions. This PR also includes a bugfix that broke comment deletion.
Almost all of the form definitions have been moved to macros defined in
form.html
. The exception is forms that are already inmanage-files.html
, which I decided to keep as is, at least for the time being.The reason for this change is that it's easier to deal with all things form related if they are all in a single location, and this also makes the page templates a little more succinct and readable.
The server code has been fixed to send the appropriate limits dictionary to all the forms that have limit definitions. This PR also includes a bugfix that broke comment deletion.
fixes #118