Skip to content

Commit

Permalink
fixup! Make css_classes argument optional for FormRow
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Nov 13, 2024
1 parent 6c9d90b commit 92fd39b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{# NB! This form row can only render fields that are supported by custom_crispy_templates/_form_field.html #}

<div
class="row{% if field.css_classes %} "{{ field.css_classes }}" {% endif %}"
class="row{% if field.css_classes %} {{ field.css_classes }}{% endif %}"
>
{% block formrow_content %}
{% for field in field.fields %}
Expand Down

0 comments on commit 92fd39b

Please sign in to comment.