Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge remote-tracking branch 'upstream/1-1-stable'

  • Loading branch information...
commit 2ff0a7af3508bd5128f32d7435312595fbbfd950 2 parents 575eb00 + 26c79fe
@tacid authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 dryml/taglibs/core.dryml
4 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 2ff0a7a

Please sign in to comment.
Something went wrong with that request. Please try again.