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: gourmet app admin recipe creation #214

Merged
merged 4 commits into from
Oct 29, 2024
Merged

fix: gourmet app admin recipe creation #214

merged 4 commits into from
Oct 29, 2024

Conversation

dylanhitt
Copy link
Collaborator

@dylanhitt dylanhitt commented Oct 29, 2024

Did the minimum to get this going.

I'll probably open up a few more PRs as it's a nice opportunity to familiarize myself with htmx/some other aspects of web development I don't really get to touch anymore day to day.

I elected to just have the hx-trigger be on button save press until I figure out something that feels a bit better for dynamic editing on just change.

closes #191

Feel free to provide some guidance if this wasn't the initial intention.

@dylanhitt
Copy link
Collaborator Author

Went ahead and made save buttons on forms return to the list they were at. As well reworking for recipe creation flow that adds a button of Add Ingredients

image

This creates the recipe and then redirects to the edit page of said ingredient

@dylanhitt dylanhitt merged commit 15b1845 into main Oct 29, 2024
5 checks passed
@dylanhitt dylanhitt deleted the fix/admin-submit branch October 29, 2024 23:28
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.

Full gourment adming app form not working
2 participants