aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/allauth/elements/field.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/templates/allauth/elements/field.html')
-rw-r--r--pyblackbird_cc/templates/allauth/elements/field.html66
1 files changed, 0 insertions, 66 deletions
diff --git a/pyblackbird_cc/templates/allauth/elements/field.html b/pyblackbird_cc/templates/allauth/elements/field.html
deleted file mode 100644
index dc5f303..0000000
--- a/pyblackbird_cc/templates/allauth/elements/field.html
+++ /dev/null
@@ -1,66 +0,0 @@
-{% load allauth %}
-{% load crispy_forms_tags %}
-
-{% if attrs.type == "textarea" %}
- <div class="row mb-3">
- <div class="col-sm-10">
- <label for="{{ attrs.id }}">
- {% slot label %}
- {% endslot %}
- </label>
- </div>
- <textarea {% if attrs.required %}required{% endif %}
- {% if attrs.rows %}rows="{{ attrs.rows }}"{% endif %}
- {% if attrs.disabled %}disabled{% endif %}
- {% if attrs.readonly %}readonly{% endif %}
- {% if attrs.checked %}checked{% endif %}
- {% if attrs.name %}name="{{ attrs.name }}"{% endif %}
- {% if attrs.id %}id="{{ attrs.id }}"{% endif %}
- {% if attrs.placeholder %}placeholder="{{ attrs.placeholder }}"{% endif %}
- class="form-control">{% slot value %}{% endslot %}</textarea>
-</div>
-{% elif attrs.type == "radio" %}
-<div class="row mb-3">
- <div class="col-sm-10">
- <div class="form-check">
- <input {% if attrs.required %}required{% endif %}
- {% if attrs.disabled %}disabled{% endif %}
- {% if attrs.readonly %}readonly{% endif %}
- {% if attrs.checked %}checked{% endif %}
- {% if attrs.name %}name="{{ attrs.name }}"{% endif %}
- {% if attrs.id %}id="{{ attrs.id }}"{% endif %}
- {% if attrs.placeholder %}placeholder="{{ attrs.placeholder }}"{% endif %}
- {% if attrs.autocomplete %}autocomplete="{{ attrs.autocomplete }}"{% endif %}
- value="{{ attrs.value|default_if_none:"" }}"
- type="{{ attrs.type }}" />
- <label class="form-check-label" for="{{ attrs.id }}">
- {% slot label %}
- {% endslot %}
- </label>
- </div>
-</div>
-</div>
-{% else %}
-<div class="col-sm-10">
- <label for="{{ attrs.id }}">
- {% slot label %}
- {% endslot %}
-</label>
-</div>
-<div class="col-sm-10">
- <input {% if attrs.required %}required{% endif %}
- {% if attrs.disabled %}disabled{% endif %}
- {% if attrs.readonly %}readonly{% endif %}
- {% if attrs.checked %}checked{% endif %}
- {% if attrs.name %}name="{{ attrs.name }}"{% endif %}
- {% if attrs.id %}id="{{ attrs.id }}"{% endif %}
- {% if attrs.placeholder %}placeholder="{{ attrs.placeholder }}"{% endif %}
- {% if attrs.autocomplete %}autocomplete="{{ attrs.autocomplete }}"{% endif %}
- value="{{ attrs.value|default_if_none:"" }}"
- type="{{ attrs.type }}"
- class="form-control" />
-</div>
-{% endif %}
-{% if slots.help_text %}
- <div class="form-text">{% slot help_text %}{% endslot %}</div>
-{% endif %}