| Server IP : 85.214.239.14 / Your IP : 216.73.216.210 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /srv/modoboa/env/lib64/python3.5/site-packages/modoboa/templates/common/ |
Upload File : |
{% load i18n core_tags form_tags %}
<div class="form-group
{% if field.errors %}has-error{% endif %}
{{ extra_classes }}"{% visirule field %}
{% if hidden %}style="display: none"{% endif %}
>
{% if field.label %}
<label class="control-label {{ label_width }}" for="id_{{ field.html_name }}">{{ field.label }}
{% if help_display_mode == "tooltip" and field.help_text %}
<a href="#" class="help" data-original-title="{% trans 'Help:' %} {{ field.label }}" data-content="{{ field.help_text }}" rel="popover" tabindex="-1">?</a>
{% endif %}
</label>
{% endif %}
<div class="{% render_field_width field %}">
{% if appended_text %}
<div class="input-group">
{% endif %}
{{ field }}
{% if appended_text %}
<span class="input-group-addon">{{ appended_text }}</span>
</div>
{% endif %}
{% if help_display_mode == "inline" and field.help_text %}
<span class="help-block pull-right">{{ field.help_text }}</span>
{% endif %}
{% if inline_message %}
<span class="text-info">{{ inline_message }}</span>
{% endif %}
{% if field.errors %}
<p class="help-block">
{% for error in field.errors %}
{{ error|safe }}
{% endfor %}
</p>
{% endif %}
</div>
{% if activator %}
<div class="checkbox {{ activator_size }}">
<label for="id_{{ field.name }}_act">
<input type="checkbox" class="activator" id="id_{{ field.name }}_act" name="{{ field.name }}_act"
{% if activator_value %}checked='checked'
{% else %}
{% if deactivate_if_empty and field.value == None %}
checked='checked'
{% endif %}
{% endif %}/>
{{ activator_label }}
</label>
</div>
{% endif %}
{% block extra_controls %}
{% endblock %}
</div>