I had the same kind of questions,
Because I have a page with several forms like “tell a friend”,
“newsletter
sign up”, and “contact us”, and I was thinking how to make it, because
also
are forms with special layouts, so the <r:mailer:foo /> tags are not
usefull
for me.
Which <r:mailer:form /> does is to make a form with attributes
method=post
and action=name-of-mailer-page
And also add a hidden form field called mailer_name with
value=“the-name-of-the-mailer”, and then if you add, in example:
<r:mailer:text name=“naam” />
You’ll get something like
So, you can hardcode the form following this rules, and then have more
flexibility.
Is a very basic workaround, but worked for me.
Regards,
Q.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.