class="row">
              <div class="input-field {% if form.username.errors %}has-error{% endif %} col s12">
                <i class="material-icons prefix" aria-hidden="true">person</i>
                <input type="text" id="username-input" name="{{ form.username.name }}"
                       class="{% if form.username.errors %}invalid{% endif %}"
                       value="{{ form.username.value|default_if_none:'' }}" autofocus>
                <label for="username-input">{{ form.username.label }}