From 3f56f55ffab3ff1784748b7ef33fab2e69469d08 Mon Sep 17 00:00:00 2001 From: Julien Stechele Date: Wed, 6 Jun 2012 15:22:44 +0300 Subject: [PATCH] Fix indentation for templating snippets --- snippets/htmldjango.snippets | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/snippets/htmldjango.snippets b/snippets/htmldjango.snippets index c87b5ee..38f836b 100644 --- a/snippets/htmldjango.snippets +++ b/snippets/htmldjango.snippets @@ -12,17 +12,17 @@ snippet { snippet autoescape {% autoescape ${1:off} %} - ${2} + ${2} {% endautoescape %} snippet block {% block ${1} %} - ${2} + ${2} {% endblock %} snippet # {# ${1:comment} #} snippet comment {% comment %} - ${1} + ${1} {% endcomment %} snippet cycle {% cycle ${1:val1} ${2:val2} ${3:as ${4}} %} @@ -32,33 +32,33 @@ snippet extends {% extends "${1:base.html}" %} snippet filter {% filter ${1} %} - ${2} + ${2} {% endfilter %} snippet firstof {% firstof ${1} %} snippet for {% for ${1} in ${2} %} - ${3} + ${3} {% endfor %} snippet empty {% empty %} ${1} snippet if {% if ${1} %} - ${2} + ${2} {% endif %} snippet else {% else %} - ${1} + ${1} snippet ifchanged {% ifchanged %}${1}{% endifchanged %} snippet ifequal {% ifequal ${1} ${2} %} - ${3} + ${3} {% endifequal %} snippet ifnotequal {% ifnotequal ${1} ${2} %} - ${3} + ${3} {% endifnotequal %} snippet include {% include "${1}" %}