diff --git a/projects/templates/projects/project_members_invite.html b/projects/templates/projects/project_members_invite.html
index 506c7c2..b997b98 100644
--- a/projects/templates/projects/project_members_invite.html
+++ b/projects/templates/projects/project_members_invite.html
@@ -22,14 +22,14 @@
{% endif %}
Invite a member to join the project "{{ project.name }}". They will receive an email with a link to join.
- {% tailwind_formfield form.email %}
+ {% tailwind_formfield_implicit form.email %}
{# ml-1 is strictly speaking not aligned, but visually it looks better "to me"; perhaps because of all of the round elements? #}
{{ form.role.label }}
diff --git a/projects/templates/projects/project_new.html b/projects/templates/projects/project_new.html
index 02b9181..43cdca6 100644
--- a/projects/templates/projects/project_new.html
+++ b/projects/templates/projects/project_new.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load static %}
+{% load tailwind_forms %}
{% block title %}New project · {{ site_title }}{% endblock %}
@@ -13,59 +14,12 @@
{% csrf_token %}
-
New Project
+ New Project
- {% if form.team %}
-
-
{{ form.team.label }}
-
- {{ form.team }}
-
-
- {% if form.team.errors %}
- {% for error in form.team.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.team.help_text %}
-
{{ form.team.help_text|safe }}
- {% endif %}
-
- {% endif %}
-
- {% if form.name %}
-
-
{{ form.name.label }}
-
- {{ form.name }}
-
-
- {% if form.name.errors %}
- {% for error in form.name.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.name.help_text %}
-
{{ form.name.help_text|safe }}
- {% endif %}
-
- {% endif %}
-
- {% if form.visibility %}
-
-
{{ form.visibility.label }}
-
- {{ form.visibility }}
-
-
- {% if form.visibility.errors %}
- {% for error in form.visibility.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.visibility.help_text %}
-
{{ form.visibility.help_text|safe }}
- {% endif %}
-
- {% endif %}
+ {% tailwind_formfield form.team %}
+ {% tailwind_formfield form.name %}
+ {% tailwind_formfield form.visibility %}
Save
Cancel
diff --git a/teams/templates/teams/team_edit.html b/teams/templates/teams/team_edit.html
index 83e51d2..3dd84b2 100644
--- a/teams/templates/teams/team_edit.html
+++ b/teams/templates/teams/team_edit.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load static %}
+{% load tailwind_forms %}
{% block title %}Edit {{ team.name }} · {{ site_title }}{% endblock %}
@@ -13,42 +14,15 @@
{% csrf_token %}
-
{{ team.name }}
+ Settings ({{ team.name }})
- {% if form.name %}
-
-
{{ form.name.label }}
-
- {{ form.name }}
-
-
- {% if form.name.errors %}
- {% for error in form.name.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.name.help_text %}
-
{{ form.name.help_text|safe }}
- {% endif %}
+
+ Team settings for "{{ team.name }}".
- {% endif %}
- {% if form.visibility %}
-
-
{{ form.visibility.label }}
-
- {{ form.visibility }}
-
-
- {% if form.visibility.errors %}
- {% for error in form.visibility.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.visibility.help_text %}
-
{{ form.visibility.help_text|safe }}
- {% endif %}
-
- {% endif %}
+ {% tailwind_formfield form.name %}
+ {% tailwind_formfield form.visibility %}
Save
Cancel
diff --git a/teams/templates/teams/team_member_settings.html b/teams/templates/teams/team_member_settings.html
index b718c86..b0de77a 100644
--- a/teams/templates/teams/team_member_settings.html
+++ b/teams/templates/teams/team_member_settings.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load static %}
+{% load tailwind_forms %}
{% block title %}Member settings · {{ team.name }} · {{ site_title }}{% endblock %}
@@ -22,7 +23,7 @@
{% endif %}
-
Membership settings
+ Membership settings
@@ -33,39 +34,8 @@
{% endif %}
- {% if form.role %}
-
-
{{ form.role.label }}
-
- {{ form.role }}
-
-
- {% if form.role.errors %}
- {% for error in form.role.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.role.help_text %}
-
{{ form.role.help_text|safe }}
- {% endif %}
-
- {% endif %}
-
- {% if form.send_email_alerts %}
-
-
{{ form.send_email_alerts.label }}
-
- {{ form.send_email_alerts }}
-
-
- {% if form.send_email_alerts.errors %}
- {% for error in form.send_email_alerts.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.send_email_alerts.help_text %}
-
{{ form.send_email_alerts.help_text|safe }}
- {% endif %}
-
- {% endif %}
+ {% tailwind_formfield form.role %}
+ {% tailwind_formfield form.send_email_alerts %}
Save
{% if this_is_you %}
diff --git a/teams/templates/teams/team_members_invite.html b/teams/templates/teams/team_members_invite.html
index 193ab82..2af5256 100644
--- a/teams/templates/teams/team_members_invite.html
+++ b/teams/templates/teams/team_members_invite.html
@@ -31,7 +31,7 @@
Invite a member to join the team "{{ team.name }}". They will receive an email with a link to join.
- {% tailwind_formfield form.email %}
+ {% tailwind_formfield_implicit form.email %}
{# ml-1 is strictly speaking not aligned, but visually it looks better "to me"; perhaps because of all of the round elements? #}
{{ form.role.label }}
diff --git a/teams/templates/teams/team_new.html b/teams/templates/teams/team_new.html
index a928839..d2cc4ac 100644
--- a/teams/templates/teams/team_new.html
+++ b/teams/templates/teams/team_new.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load static %}
+{% load tailwind_forms %}
{% block title %}New team · {{ site_title }}{% endblock %}
@@ -13,42 +14,11 @@
{% csrf_token %}
-
New Team
+ New Team
- {% if form.name %}
-
-
{{ form.name.label }}
-
- {{ form.name }}
-
-
- {% if form.name.errors %}
- {% for error in form.name.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.name.help_text %}
-
{{ form.name.help_text|safe }}
- {% endif %}
-
- {% endif %}
-
- {% if form.visibility %}
-
-
{{ form.visibility.label }}
-
- {{ form.visibility }}
-
-
- {% if form.visibility.errors %}
- {% for error in form.visibility.errors %}
-
{{ error }}
- {% endfor %}
- {% elif form.visibility.help_text %}
-
{{ form.visibility.help_text|safe }}
- {% endif %}
-
- {% endif %}
+ {% tailwind_formfield form.name %}
+ {% tailwind_formfield form.visibility %}
Save
Cancel
diff --git a/templates/signup.html b/templates/signup.html
index 0dbf9b3..71bb822 100644
--- a/templates/signup.html
+++ b/templates/signup.html
@@ -17,9 +17,9 @@