Phase 2: Contact form with email delivery #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Decomposed from #1 — Phase 2 of 4. Depends on #2 (scaffold).
Repo
forgejo_admin/pal-enterprisesUser Story
As a visitor, I want to submit a contact form to inquire about services or request an account, so that I can reach Lucas without needing a login.
Context
Add a contact form at
/contactthat collects name, email, message type (services inquiry / IT support / account request / other), and message body. Submissions are delivered via Action Mailer — no database storage. The form uses Turbo for a smooth submit experience.File Targets
Files to create:
app/controllers/contacts_controller.rb— new + create actionsapp/views/contacts/new.html.erb— contact form with Tailwind stylingapp/views/contacts/thank_you.html.erb— confirmation pageapp/mailers/contact_mailer.rb— delivers submission to adminapp/views/contact_mailer/new_inquiry.html.erb— email templateconfig/routes.rb— add/contactroutesFiles to modify:
app/views/pages/home.html.erb— add "Contact" linkapp/views/layouts/application.html.erb— add Contact to navAcceptance Criteria
/contactrenders with all fieldsTest Expectations
bin/rails testConstraints
Checklist
Related
pal-enterprises— projectScope Review: NEEDS_REFINEMENT
Review note:
review-1179-2026-05-09Significant scope drift between board title, issue spec, and codebase state. Multiple contradictions need resolution before an agent can execute cleanly.
forgejo_admin/pal-enterprisesbut actual repo isldraney/pal-enterprises.Leadmodel, contradicting the "no database model" constraint.arch-rails-appnote exists in pal-e-docs -- needs creation.