In this course we are going to display each field individually since our forms are not complicated and we want to practice using django forms with tailwind css. Keep in mind that a more efficient way would be to use a for loop like this:
{% for field in form %}
<div class="mb-4"> <label class="block text-gray-700 text-sm font-bold mb-2" for="{{ field.id_for_label }}">{{ field.label }}</label>
{% render_field field class="bg-slate-100 dark:bg-slate-300 text-slate-800 rounded-lg p-3 drop-shadow-xl w-full" %}
</div>
{% endfor %}