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

Fix add group member #241

Merged
merged 3 commits into from
Mar 28, 2024
Merged

Fix add group member #241

merged 3 commits into from
Mar 28, 2024

Conversation

lfdebrux
Copy link
Member

@lfdebrux lfdebrux commented Mar 28, 2024

Fixes the "Add an editor to this group" route so that error messages work as expected.

Setting the form action using the button formaction attribute meant that the POST rule on the router was not being called. This PR fixes things by removing that attribute. We also tweak the route to redirect to the same place as the button was, and some of the email addresses.

Setting the form action using the button `formaction` attribute meant
that the POST rule on the router was not being invoked.
Update test email address when adding a new group member to match email
domain of other users in group.
@christophercameron-ixd christophercameron-ixd temporarily deployed to forms-prototypes-pr-241 March 28, 2024 07:40 Inactive
@lfdebrux lfdebrux requested a review from hazalarpalikli March 28, 2024 07:42
@hazalarpalikli
Copy link
Contributor

Omg thank you <3

@hazalarpalikli hazalarpalikli merged commit 064b346 into main Mar 28, 2024
2 checks passed
@hazalarpalikli hazalarpalikli deleted the ldeb-fix-add-group-member branch March 28, 2024 09:30
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

Successfully merging this pull request may close these issues.

3 participants