Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make post forms programatically generated #307

Open
teodesian opened this issue Dec 13, 2023 · 1 comment
Open

Make post forms programatically generated #307

teodesian opened this issue Dec 13, 2023 · 1 comment

Comments

@teodesian
Copy link
Collaborator

Right now the templates and filters are in two places:

  • The form itself
  • Trog::DataModule

We need the form to have some means of self-describing where it tells us what parameters to filter from being stored, and what parameters it actually expects to have. Then we just change it in one place and there is no source of bugs here.

@teodesian
Copy link
Collaborator Author

Ideally, this is a part of the parent series form.

We could even store these forms in the post itself rather than in www/templates/html/components/forms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant