How to implement flash messages

Hi, for my contact form I would like to implement flash messages, like in Rails. Did anyone implemented flash messages in his Middleman project? How did you do it?

Thanks for the advice,

Anthony

Middleman generates static HTML, so flash-message in Rails-style is not possible. I mean: there is no logic-controller (server-side), so only a client-side Javascript action could make a redirect with some params, or any other DOM operation showing a flash-div.
Seems to be an interesting idea. But if you’re just thinking about a send-form response, then maybe a thankyou page would be enough?

yeah, I guess a ‘thank you’ page might be the easiest thing to do.

thanks,

Anthony