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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
bramu.ss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Oct-05 13:49 UTC
Re: create contact form
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...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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 > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Found that http://www.bphogan.com/learn/pdf/tableless_contact_form.pdf -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---