From c399e80e04e0f62766c20e39195cae9a0d48ab8f Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Wed, 22 Oct 2008 21:47:16 +0530 Subject: Fix icons --- railties/doc/guides/html/form_helpers.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 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 da5307217c..28c317411b 100644 --- a/railties/doc/guides/html/form_helpers.html +++ b/railties/doc/guides/html/form_helpers.html @@ -259,7 +259,7 @@ Build complex, multi-model forms.
-Note +Note This guide is not intended to be a complete documentation of available form helpers and their arguments. Please visit the Rails API documentation for a complete reference.
@@ -290,7 +290,7 @@ Build complex, multi-model forms.
-Note +Note Throughout this guide, this div with the hidden input will be stripped away to have clearer code samples.
@@ -322,7 +322,7 @@ a submit element.
-Important +Important Always use "GET" as the method for search forms. Benefits are many: users are able to bookmark a specific search and get back to it; browsers cache results of "GET" requests, but not "POST"; and other.
@@ -340,7 +340,7 @@ a submit element.
-Tip +Tip

search_path can be a named route specified in "routes.rb":

@@ -365,7 +365,7 @@ a submit element.
-Tip +Tip For every form input, an ID attribute is generated from its name ("q" in our example). These IDs can be very useful for CSS styling or manipulation of form controls with JavaScript.
@@ -390,7 +390,7 @@ a submit element.
-Warning +Warning Do not delimit the second hash without doing so with the first hash, otherwise your method invocation will result in an ugly expecting tASSOC syntax error.
@@ -429,7 +429,7 @@ output:
-Important +Important Always use labels for each checkbox and radio button. They associate text with a specific option, while also providing a larger clickable region.
@@ -451,7 +451,7 @@ output:
-Tip +Tip If you're using password input fields (for any purpose), you might want to prevent their values showing up in application logs by activating filter_parameter_logging(:password) in your ApplicationController.
@@ -557,7 +557,7 @@ form_for(@article)
-Warning +Warning When you're using STI (single-table inheritance) with your models, you can't rely on record identification on a subclass if only their parent class is declared a resource. You will have to specify the model name, :url and :method explicitly.
-- cgit v1.2.3