~ubuntuone-hackers/django-crispy-forms/trunk

« back to all changes in this revision

Viewing changes to crispy_forms/templates/bootstrap4/layout/inline_field.html

  • Committer: GitHub
  • Author(s): William Martin Stewart
  • Date: 2016-09-20 19:08:19 UTC
  • Revision ID: git-v1:355c2cbbc9b0e142a54bfb8c1199be4a48f87e61
Bootstrap 4 improvements (#621)

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
            </label>
12
12
        </div>
13
13
    {% else %}
14
 
        <div id="div_{{ field.auto_id }}" class="form-group{% if using_grid_layout %} row{% endif %}">
 
14
        <div id="div_{{ field.auto_id }}" class="form-group">
15
15
            <label for="{{ field.id_for_label }}" class="sr-only{% if field.field.required %} requiredField{% endif %}">
16
16
                {{ field.label|safe }}
17
17
            </label>