Fix error message rendering in add things form
All checks were successful
Build containers when image tags change / build-if-image-changed (., web, containers, main container, git.baumann.gr/adebaumann/labhelper) (push) Successful in 33s
Build containers when image tags change / build-if-image-changed (data-loader, loader, initContainers, init-container, git.baumann.gr/adebaumann/labhelper-data-loader) (push) Successful in 8s
All checks were successful
Build containers when image tags change / build-if-image-changed (., web, containers, main container, git.baumann.gr/adebaumann/labhelper) (push) Successful in 33s
Build containers when image tags change / build-if-image-changed (data-loader, loader, initContainers, init-container, git.baumann.gr/adebaumann/labhelper-data-loader) (push) Successful in 8s
Remove inner loop that was iterating over error message characters, causing error messages to display as individual letters. Bump container version to 0.025
This commit is contained in:
@@ -162,9 +162,7 @@
|
||||
{{ form.name }}
|
||||
{% for error in form.name.errors %}
|
||||
<div class="error-list">
|
||||
{% for e in error %}
|
||||
<li>{{ e }}</li>
|
||||
{% endfor %}
|
||||
<li>{{ error }}</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<label class="required">*</label>
|
||||
@@ -173,9 +171,7 @@
|
||||
{{ form.thing_type }}
|
||||
{% for error in form.thing_type.errors %}
|
||||
<div class="error-list">
|
||||
{% for e in error %}
|
||||
<li>{{ e }}</li>
|
||||
{% endfor %}
|
||||
<li>{{ error }}</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<label class="required">*</label>
|
||||
@@ -184,9 +180,7 @@
|
||||
{{ form.description }}
|
||||
{% for error in form.description.errors %}
|
||||
<div class="error-list">
|
||||
{% for e in error %}
|
||||
<li>{{ e }}</li>
|
||||
{% endfor %}
|
||||
<li>{{ error }}</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</td>
|
||||
@@ -194,9 +188,7 @@
|
||||
{{ form.picture }}
|
||||
{% for error in form.picture.errors %}
|
||||
<div class="error-list">
|
||||
{% for e in error %}
|
||||
<li>{{ e }}</li>
|
||||
{% endfor %}
|
||||
<li>{{ error }}</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user