Skip to content
Snippets Groups Projects
Commit fec2e753 authored by anonymous's avatar anonymous
Browse files

fix error string problem

parent 500ced23
Branches
Tags
No related merge requests found
...@@ -33,7 +33,7 @@ is_required=false) %} ...@@ -33,7 +33,7 @@ is_required=false) %}
<div class="span6 inline-error"> <div class="span6 inline-error">
{% if error is iterable and error is not string %} {% if error is iterable and error is not string %}
{{error|first}} {{error|first}}
{% else %} {% elif error is string %}
{{error}} {{error}}
{% endif %} {% endif %}
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment