Public contact flow
A Rails-native public inquiry across validation, submission, result, availability, and pressure states.
Form, validation, submission, result, availability, long-content, and narrow states.
Server validation keeps invalid caller values connected to accessible field errors.
Server validation keeps invalid caller values connected to accessible field errors.
Routing, response times, persistence, consent, and delivery remain application responsibilities.
test/dummy/app/components/gallery/flows/contact_page.rbworkspace_surface(size: :lg) do
render_header
if state == "sent"
render_sent
else
render_contact_form
end
end