-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pagetree's auto-generated <form> tag has a few problems preventing me from using it with the goal forms: * After submitting an invalid form, Pagetree's Submit button disappears, preventing the user from being able to submit the form again. * The "change my answers" form isn't compatible with formsets. See ccnmtl/django-pagetree#58 My solution is to again have the pageblock render its own <form>. This necessitates an unfortunate hack: hiding pagetree's Submit button with JavaScript. This is one of the reasons I think needs_submit should be broken out into two different configurable params: Something like `handles_post_data` and `renders_form`. Related to issue here: ccnmtl/django-pagetree#44
- Loading branch information
Showing
6 changed files
with
138 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters