Show error messages on spawn form

when spawning fails

instead of 500
This commit is contained in:
Min RK
2016-01-22 16:02:11 +01:00
parent 818510c2ca
commit ef40bd230e
2 changed files with 20 additions and 6 deletions

View File

@@ -7,6 +7,11 @@
<h1>Spawner options</h1>
</div>
<div class="row col-sm-offset-2 col-sm-8">
{% if error_message %}
<p class="spawn-error-msg text-danger">
Error: {{error_message}}
</p>
{% endif %}
<form enctype="multipart/form-data" id="spawn_form" action="{{base_url}}spawn" method="post" role="form">
{{spawner_options_form}}
<br>