diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-01-10 09:31:41 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-01-10 09:31:41 +0100 |
commit | 96fef156a21c7c88d4c332af03e7a74b80c2b92d (patch) | |
tree | 83e37f77c4a5b3cf6a344d1dc6e072ea3d32216f /user_guide_src/source/libraries | |
parent | aadba8241f0454ede4300af6efcf5cc62dd19464 (diff) | |
parent | 024cfeceedc17fc8442b2bca9dfc73c361dfaac3 (diff) |
Merge pull request #2141 from vlakoff/develop
Syntax fixes in documentation source
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/form_validation.rst | 4 | ||||
-rw-r--r-- | user_guide_src/source/libraries/migration.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst index ce1695d62..ae7859aa3 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -479,7 +479,7 @@ Message is the text you would like displayed. If you'd like to include a field's "human" name, or the optional parameter some rules allow for (such as max_length), you can add the -**{field}** and **{param}** tags to your message, respectively. +**{field}** and **{param}** tags to your message, respectively:: $this->form_validation->set_message('min_length', '{field} must have at least {param} characters.'); @@ -491,7 +491,7 @@ error would display: "Username must have at least 5 characters." use one or the other. In the callback rule example above, the error message was set by passing -the name of the method (without the "callback_" prefix):: +the name of the method (without the "callback\_" prefix):: $this->form_validation->set_message('username_check') diff --git a/user_guide_src/source/libraries/migration.rst b/user_guide_src/source/libraries/migration.rst index 1a73fb78d..9a7b10d64 100644 --- a/user_guide_src/source/libraries/migration.rst +++ b/user_guide_src/source/libraries/migration.rst @@ -158,6 +158,6 @@ Preference Default Options Des version number. **migration_auto_latest** FALSE TRUE / FALSE Enable or disable automatically running migrations. -**migration_type** 'timestamp' 'timestamp' / 'sequential' The type of numeric identifier used to name +**migration_type** 'timestamp' 'timestamp' / 'sequential' The type of numeric identifier used to name migration files. ========================== ====================== ========================== ============================================= |