Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. ## Sinatra Homework
  2. Extend the demo sinatra app you created this morning to have a contact_us page.
  3.  
  4. Create a 'contact us' page that takes in the name and email of a user and a message and returns these details back to them (No need to save the details of the message, we will look at persistance in a web application tomorrow).
  5.  
  6. 1. Create a new route for 'contact us'.
  7. 2. Add a link to the nav for the route.
  8. 3. Route should take the user to a contact us page with a form to take in name, email and message.
  9. 4. Submitted form should return a thank you for contacting us page with the repeating the details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement