{% from "_helpers.html" import render_field %} {% macro copr_build_form(form, view, copr) %}
Build for all project's chroots?
Applies just to these builds and will not cause any changes to your project.
{% if form._mock_chroots_error %}

{{ form._mock_chroots_error }}

{% endif %} {% for group_set, chs in form.chroots_sets.items() %} {% for ch in chs %} {% endfor %}
{{ form|attr(ch)|attr('label') }} {% if form|attr(ch)|attr('label') %} {% else %} {{ form|attr(ch)|attr('label') }} {% endif %} {{ form|attr(ch) }}
{% endfor %} {{ form.csrf_token }} {{ render_field(form.pkgs, label='URLs of packages to build', rows = 10, cols = 50) }} {% if g.user.proven %} {{ render_field(form.memory_reqs) }} {{ render_field(form.timeout) }} {% else %} {# once we pass the hidden attribute, the field will just be hidden, it seems #} {{ render_field(form.memory_reqs, hidden = True) }} {{ render_field(form.timeout, hidden = True) }} {% endif %}

You agree to build only allowed content in Copr. Check if your license is allowed.

{% endmacro %} {% macro copr_build_cancel_form(build, page) %} {% if build.cancelable %}
{% endif %} {% endmacro %} {% macro copr_build_repeat_form(build, page) %} {% if build.repeatable %}
{% endif %} {% endmacro %} {% macro copr_build_delete_form(build, page) %} {% if build.deletable %}
{% endif %} {% endmacro %}