X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjob_new.html;h=fca86fed7e10871a1b0c9ac20087f48bdbd316c6;hb=ddd692a2e77eadd9c7956d8094f36c5381b9b140;hp=f2f55c2619328b51573ba7c91a2e38fae341f571;hpb=d33fbaaca284582fae920d9cc22a4755afeb169d;p=qcg-portal.git diff --git a/qcg/templates/qcg/job_new.html b/qcg/templates/qcg/job_new.html index f2f55c2..fca86fe 100644 --- a/qcg/templates/qcg/job_new.html +++ b/qcg/templates/qcg/job_new.html @@ -3,19 +3,35 @@ {% block extra_css %} - {% endblock %} {% block extra_js %} - - - + + {% include 'filex/source.js.html' %} {% endblock %} @@ -87,6 +86,14 @@ {% block container %}

{% block title %}Zleć zadanie{% endblock %}

+ {% if errors %} +
+ Uwaga! Formularz zawiera błędy. + {{ form.non_field_errors }} + {{ env_formset.non_field_errors }} +
+ {% endif %} +
{% csrf_token %} @@ -114,11 +121,11 @@ {% bootstrap_field form.script layout="horizontal" form_group_class="form-group collapse" %} {% bootstrap_field form.arguments layout="horizontal" %} {% bootstrap_field form.note layout="horizontal" %} - {% bootstrap_field form.grant layout="horizontal" %} + {% bootstrap_field form.grant layout="horizontal" form_group_class="form-group collapse" %}
- {% bootstrap_field form.host layout="horizontal" %} + {% bootstrap_field form.hosts layout="horizontal" %} {% bootstrap_field form.queue layout="horizontal" %} {% bootstrap_field form.properties layout="horizontal" form_group_class="form-group collapse" %} {% bootstrap_field form.modules layout="horizontal" form_group_class="form-group collapse" %} @@ -166,7 +173,7 @@ {% endfor %} @@ -190,7 +197,7 @@ {% endfor %} @@ -217,7 +224,7 @@ {% endfor %} @@ -244,7 +251,7 @@ {% endfor %} @@ -279,4 +286,18 @@ + + {% endblock %}