Browse files

fixed typos - administrtator => administrator, ActiveSuport => Active…

  • Loading branch information...
1 parent 9b63b0e commit 02cb7006668a7a49d43df6b9cb27cfc183e5d917 @devcurmudgeon committed Jul 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 dryml/taglibs/core.dryml
@@ -61,10 +61,10 @@ For example, you might want to wrap an `<img>` tag in an `<a>` tag but only unde
### Usage
- <if test="&current_user.administrtator?">Logged in as administrator</if>
+ <if test="&current_user.administrator?">Logged in as administrator</if>
<else>Logged in as normal user</else>
-**IMPORTANT NOTE**: `<if>` tests for non-blank vs. blank (as defined by ActiveSuport), not true vs. false.
+**IMPORTANT NOTE**: `<if>` tests for non-blank vs. blank (as defined by ActiveSupport), not true vs. false.
If you do not give the `test` attribute, uses the current context instead. This allows a nice trick like this:

0 comments on commit 02cb700

Please sign in to comment.