Created
April 7, 2021 15:48
-
-
Save mmtechslv/0b03c7740094dc5c5f9d6c3443b82d9a to your computer and use it in GitHub Desktop.
Markdium-Introduction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load crispy_forms_field %} | |
<div class="form-group{% if 'form-horizontal' in form_class %} row{% endif %}"> | |
<label for="{{ field.id_for_label }}" class="{% if 'form-horizontal' in form_class %}col-form-label {% endif %}{{ label_class }}{% if field.field.required %} requiredField{% endif %}"> | |
{{ field.label|safe }} | |
{% if field.field.required %} | |
<span class="asteriskField">*</span> | |
{% endif %} | |
</label> | |
{% crispy_field field %} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment