~mcfletch/django-jqm/trunk

« back to all changes in this revision

Viewing changes to jqm/templates/jqm/formfields.html

  • Committer: Mike C. Fletcher
  • Date: 2011-06-24 18:43:21 UTC
  • Revision ID: mcfletch@vrplumber.com-20110624184321-ctg831lw970oqqqc
Fix login versus log in, add a simple logout template, tweak display of errors and messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
{{ form.non_field_errors }}
5
5
 
6
6
{% for field in form.visible_fields %}
7
 
    <div class="field-wrapper {% if field.required %}required{% endif %}">
 
7
    <div class="field-wrapper {% if field.field.required %}required{% endif %}">
8
8
        {# Include the hidden fields in the form #}
9
9
        {{ field.label_tag }} {{ field }}
10
 
        {{ field.errors }}
11
10
        {% if field.help_text %}
12
 
            <button class="help-trigger" data-iconpos="notext" data-icon="info"></button>
 
11
            <button data-role="none" href="#" class="help-trigger" data-iconpos="notext" data-icon="info">?</button>
13
12
            <div class="field-help hidden">{{field.help_text}}</div>
14
13
        {% endif %}
 
14
        {{ field.errors }}
15
15
    </div>
16
16
{% endfor %}
17
17
{% for hidden in form.hidden_fields %}