From 540212122d7f220f27d1a7d6b54fdf37ac809dc1 Mon Sep 17 00:00:00 2001 From: yositani2002 Date: Wed, 2 Jul 2014 22:23:55 +0900 Subject: [PATCH] fix typos. --- reference/forms/types/options/pattern.rst.inc | 4 ++-- reference/forms/types/options/post_max_size_message.rst.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/forms/types/options/pattern.rst.inc b/reference/forms/types/options/pattern.rst.inc index d1ff3aea732..2bb115b4483 100644 --- a/reference/forms/types/options/pattern.rst.inc +++ b/reference/forms/types/options/pattern.rst.inc @@ -6,13 +6,13 @@ pattern This adds an HTML5 ``pattern`` attribute to restrict the field input by a given regular expression. -.. caution: +.. caution:: The ``pattern`` attribute provides client-side validation for convenience purposes only and must not be used as a replacement for reliable server-side validation. -.. note: +.. note:: When using validation constraints, this option is set automatically for some constraints to match the server-side validation. diff --git a/reference/forms/types/options/post_max_size_message.rst.inc b/reference/forms/types/options/post_max_size_message.rst.inc index f85cb83a99d..9378edb4941 100644 --- a/reference/forms/types/options/post_max_size_message.rst.inc +++ b/reference/forms/types/options/post_max_size_message.rst.inc @@ -7,6 +7,6 @@ This is the validation error message that's used if submitted POST form data exceeds ``php.ini``'s ``post_max_size`` directive. The ``{{ max }}`` placeholder can be used to display the allowed size. -.. note: +.. note:: Validating the ``post_max_size`` only happens on the root form.