From 8e98b43db0d8defdb01ff5fef4f34846d1cdb50b Mon Sep 17 00:00:00 2001 From: CassioMarques Date: Sat, 31 Jan 2009 14:45:35 -0200 Subject: Getting rid of some of the pre-existent content in the AR basics guide, adding new stuff to it. --- railties/doc/guides/html/form_helpers.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'railties/doc/guides/html/form_helpers.html') diff --git a/railties/doc/guides/html/form_helpers.html b/railties/doc/guides/html/form_helpers.html index 2693f29a9a..d5e571ae31 100644 --- a/railties/doc/guides/html/form_helpers.html +++ b/railties/doc/guides/html/form_helpers.html @@ -197,7 +197,7 @@ Find out where to look for complex forms

1.1. A Generic search form

Probably the most minimal form often seen on the web is a search form with a single text input for search terms. This form consists of:

-
    +
    1. a form element with "GET" method, @@ -420,7 +420,7 @@ end <% end %>

There are a few things to note here:

-
    +
    1. :article is the name of the model and @article is the actual object being edited. @@ -662,7 +662,7 @@ output:

      4. Using Date and Time Form Helpers

      The date and time helpers differ from all the other form helpers in two important respects:

      -
        +
        1. Dates and times are not representable by a single input element. Instead you have several, one for each component (year, month, day etc.) and so there is no single value in your params hash with your date or time. -- cgit v1.2.3