Created
September 18, 2010 22:52
-
-
Save mdellavo/586137 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%def name="yesno(value, text=None)"> | |
<span class="${'positive' if value else 'negative'}"> | |
${text or ('Yes' if value else 'No')} | |
</span> | |
</%def> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment