X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjob_new.html;h=6ed34c4ee3256c1646cf93431f4b961faede12b9;hb=1547dbc536b4848a93ce0a39493c0c69b853c576;hp=79297498303017725fc1fc002ee8ab7edf4101d8;hpb=d0c4e22c88d0509418e5dbb092d6cfda5bbb81ae;p=qcg-portal.git diff --git a/qcg/templates/qcg/job_new.html b/qcg/templates/qcg/job_new.html index 7929749..6ed34c4 100644 --- a/qcg/templates/qcg/job_new.html +++ b/qcg/templates/qcg/job_new.html @@ -29,7 +29,7 @@ } } }); - $('#id_modules, #id_host').selectize({ + $('#id_modules, #id_hosts').selectize({ plugins: ['remove_button'] }); @@ -78,6 +78,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 %} @@ -105,11 +113,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" %} @@ -157,7 +165,7 @@ {% endfor %} @@ -181,7 +189,7 @@ {% endfor %} @@ -208,7 +216,7 @@ {% endfor %} @@ -235,7 +243,7 @@ {% endfor %}