Forum: Ruby on Rails create contact form

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4287232616a1dde31cd2dab154acad70?d=identicon&s=25 Pepe Sanchez (jsn1)
on 2008-10-05 14:12
Hi all

I have a regular HTML form that I want to convert into a RoR form

Because I do not need to save the data in the database I think I need:
 - a controller and a viewer
 - send submitted fields through email

<h2>Contact Form</h2>
    <form action="contact.html">
    <fieldset>
    <legend>Please send your message: </legend>
    <p><label>Your Name:<br /><input type="text" /></label></p>
    <p><label>Your email:<br /><input type="email" /></label></p>
    <p><label>Message:<br /><textarea rows="5"
cols="5"></textarea></label></p>
    <p><label><input type="submit" value="Submit" class="submit"
/></label></p>
</fieldset>
    </form>

thanks
915c75d80fe715ffe9772edd9c6a83d7?d=identicon&s=25 bramu.ss@gmail.com (Guest)
on 2008-10-05 15:50
(Received via mailing list)
You can use the static scaffold application for this. Have a look at
the scaffold feature.

Thanks,
Ramu.

On Oct 5, 5:12 pm, Pepe Sanchez <rails-mailing-l...@andreas-s.net>
4287232616a1dde31cd2dab154acad70?d=identicon&s=25 Pepe Sanchez (jsn1)
on 2008-10-06 02:31
This topic is locked and can not be replied to.