diff --git a/courses/templates/category/create.html b/courses/templates/category/create.html index 6b45205..e628f81 100644 --- a/courses/templates/category/create.html +++ b/courses/templates/category/create.html @@ -19,7 +19,7 @@ {% render_field field class='form-control input-sm' %} - {% if field.errors.length > 0 %} + {% if field.errors%}