This is an automated email from the ASF dual-hosted git repository.
tn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new 104e8f0 add TODO to support a dynamic list of mailto addresses
104e8f0 is described below
commit 104e8f0f689b2332b8994853e41f86228a8397ba
Author: Thomas Neidhart <[email protected]>
AuthorDate: Mon Mar 24 14:47:27 2025 +0100
add TODO to support a dynamic list of mailto addresses
---
atr/routes/projects.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/atr/routes/projects.py b/atr/routes/projects.py
index ffade61..93f4b5a 100644
--- a/atr/routes/projects.py
+++ b/atr/routes/projects.py
@@ -51,6 +51,13 @@ async def root_project_view(name: str) -> str:
class VotePolicyForm(util.QuartFormTyped):
+ """
+ A Form to create/edit a VotePolicy.
+
+ TODO: Currently only a single mailto_address is supported.
+ see:
https://stackoverflow.com/questions/49066046/append-entry-to-fieldlist-with-flask-wtforms-using-ajax
+ """
+
project_name = wtforms.HiddenField("project_name")
mailto_addresses = wtforms.FieldList(
wtforms.StringField(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]