add new and update existing baseforms
This commit is contained in:
@@ -5,7 +5,14 @@
|
||||
<div class="alert-body">{{ field.errors }}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<input type="password" id="id_{{ field.name }}" name="{{ field.name }}" {% if field.required %}required{% endif %} class="mt-1 block w-full rounded-md border-gray-300 dark:border-none shadow-sm focus:border-none focus:ring focus:ring-blue-200 dark:focus:ring-sky-700 focus:ring-opacity-50">
|
||||
<input
|
||||
type="password"
|
||||
id="id_{{ field.name }}"
|
||||
name="{{ field.name }}"
|
||||
{% if field.field.required %}required{% endif %}
|
||||
{% if field.field.disabled %}disabled{% endif %}
|
||||
class="mt-1 block w-full rounded-md border-gray-300 dark:border-none shadow-sm focus:border-none focus:ring focus:ring-blue-200 dark:focus:ring-sky-700 focus:ring-opacity-50"
|
||||
>
|
||||
{% if field.help_text %}
|
||||
<span class="text-gray-700 dark:text-gray-200">{{ field.help_text }}</span>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user