strasbourg-2018: use field hint as "manual address" checkbox text (#52615)

This commit is contained in:
Frédéric Péters 2021-04-06 10:02:40 +02:00
parent 2c124a0515
commit e507d182d1
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{% extends "qommon/forms/widgets/select_jsonp.html" %}
{% load i18n %}
{% block widget-control %}
{{ block.super }}
{% if not widget.readonly %}
<div>
<label><input id="wcs-manual-address" type="checkbox"><span>{% if widget.hint %}{{ widget.hint }}{% else %}{% trans "Manually enter the address" %}{% endif %}</span></label>
</div>
{% endif %}
{% endblock %}
{% block widget-hint %}
{% endblock %}