view sat_templates/templates/default/merge-request/discover.html @ 205:e03e085bf7e8

input (xmlui): add "readonly" attribute in string_widget when suitable.
author Goffi <goffi@goffi.org>
date Wed, 12 Jun 2019 09:13:42 +0200
parents e9f0a4215e46
children
line wrap: on
line source

{% extends 'base/base.html' %}
{% import 'components/block.html' as block with context %}
{% import 'components/images.html' as images with context %}
{% import 'components/avatar.html' as avatar with context %}
{% import 'input/form.html' as form with context %}
{% import 'input/field.html' as field with context %}

{% block body %}
{{ icon_defs('merge') }}
<p class="instructions--head">
    {% trans %}
    Please select a merge-requests handler
    {% endtrans %}
</p>
{% if mr_handlers is defined %}
    <div class="disco_tickets">
        {{block.disco_icon_grid(mr_handlers, 'merge')}}
    </div>
{% endif %}

{% call form.form(class="form--single") %}
    {{ field.text("jid", _("handler jid"), required=true)}}
    {{ field.submit(_("Access")) }}
{% endcall %}
{% endblock body %}