Commits

pahaz committed 2a8fced

comments

Comments (0)

Files changed (1)

widget_tweaks/templatetags/widget_tweaks.py

         return bounded_field
 
 """
-Use:
-    <div class="field {{ field|field_type }} {{ field|widget_type }} {{ field.html_name }}">
-        {{ field }}
-    </div>
-Out:
-    <div class="field charfield textinput name">
-        <input id="id_name" type="text" name="name" maxlength="100" />
-    </div>
+    Use:
+        <div class="field {{ field|field_type }} {{ field|widget_type }} {{ field.html_name }}">
+            {{ field }}
+        </div>
+    Out:
+        <div class="field charfield textinput name">
+            <input id="id_name" type="text" name="name" maxlength="100" />
+        </div>
 """
 
 @register.filter(name='field_type')