diff options
author | Andrew Godwin | 2022-11-13 16:14:38 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-13 16:15:14 -0700 |
commit | 34b24a0dcb044cb755e201ad1a83253d0690e78e (patch) | |
tree | 51e6842d9e1392fafcd617cf4de0fa7e28397c87 /templates/forms/_field.html | |
parent | 5a8b6bb3d022a532562ad5fa6d629cfc48c51b46 (diff) | |
download | takahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.tar.gz takahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.tar.bz2 takahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.zip |
More UI!
Diffstat (limited to 'templates/forms/_field.html')
-rw-r--r-- | templates/forms/_field.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/forms/_field.html b/templates/forms/_field.html new file mode 100644 index 0000000..120724e --- /dev/null +++ b/templates/forms/_field.html @@ -0,0 +1,13 @@ +<div class="field"> + <label for="{{ field.id_for_label }}"> + {{ field.label }} + {% if field.field.required %}<small>(Required)</small>{% endif %} + </label> + {% if field.help_text %} + <p class="help"> + {{ field.help_text }} + </p> + {% endif %} + {{ field.errors }} + {{ field }} +</div> |