{% load url from future %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %} {{ error }} {% endfor %}
{% endif %}
{% if not connected %} {% include 'socialcomments/form/connect.inc.html' %} {% else %}

{% if avatar %}   {% endif %} You’re logged in as {{ identity.display_name }}. (Log out)

{% endif %}
{% if not connected %} {% else %} {% for field in form.visible_fields %} {% include 'field.inc.html' %} {% endfor %} {{ form.hidden_fields|join:'' }} {% endif %}