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.
Pepe S. (Guest)
on 2008-10-05 16: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 N.:<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
(Guest)
on 2008-10-05 17: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 S. <removed_email_address@domain.invalid>
Pepe S. (Guest)
on 2008-10-06 04:31
This topic is locked and can not be replied to.