Unified indentation using 4 spacec according to PEP8.
This commit is contained in:
		@@ -1,16 +1,16 @@
 | 
			
		||||
{% load widget_tweaks %}
 | 
			
		||||
 | 
			
		||||
<div class="LP-Input {% if field.errors %} LP-Input--error {% endif %}">
 | 
			
		||||
	<label for="{{field.id_for_label}}" class="LP-Input__Label">{{field.label}}</label>
 | 
			
		||||
	{% render_field field class="LP-Input__Field"%}
 | 
			
		||||
    <label for="{{field.id_for_label}}" class="LP-Input__Label">{{field.label}}</label>
 | 
			
		||||
    {% render_field field class="LP-Input__Field"%}
 | 
			
		||||
 | 
			
		||||
	<span class="LP-Input__Message">
 | 
			
		||||
		{% if field.errors %} 
 | 
			
		||||
			{% for error in field.errors%}
 | 
			
		||||
				{{error}}
 | 
			
		||||
			{% endfor %}
 | 
			
		||||
		{% elif field.help_text%}
 | 
			
		||||
			{{ field.help_text }}
 | 
			
		||||
		{% endif %}
 | 
			
		||||
	</span>
 | 
			
		||||
    <span class="LP-Input__Message">
 | 
			
		||||
        {% if field.errors %} 
 | 
			
		||||
            {% for error in field.errors%}
 | 
			
		||||
                {{error}}
 | 
			
		||||
            {% endfor %}
 | 
			
		||||
        {% elif field.help_text%}
 | 
			
		||||
            {{ field.help_text }}
 | 
			
		||||
        {% endif %}
 | 
			
		||||
    </span>
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user