hydra-sql/templates/altcha.html.twig

31 lines
900 B
Twig
Raw Normal View History

{% block altcha_widget %}
<style>
.altcha label {
margin-bottom: 0;
}
.panel-body {
max-width: 400px;
}
</style>
<div>
<h3>
{% trans from 'form' %}altcha.widget.title{% endtrans %}
</h3>
<div class="panel-body">
<altcha-widget
challengejson={{challengeJson}}
name={{form.vars.full_name}}
strings="{{translations}}"
hidelogo
hidefooter
workers= {{ workers }}
delay={{ delay }}
{{ debug ? 'debug' : ''}}
{{ mockError ? 'mockerror' : ''}}
></altcha-widget>
<div class="alert alert-info">
{% trans from 'form' %}altcha.widget.info{% endtrans %}
</div>
</div>
</div>
{% endblock %}