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 12, 2024
1 parent 48a8044 commit fca1a6a
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 fca1a6a

Please sign in to comment.