mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Substitute text-help with text-block
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
<div class="input-group">
|
||||
<label class="control-label col-lg-1 col-md-2 col-sm-3">{% trans "Thresholds" %}</label>
|
||||
<div class="col-lg-11 col-md-10 col-sm-9">
|
||||
{{ form.spam_tag2_level }} <span class="help-inline pull-right">{% trans "or more is spam" %}</span><br>
|
||||
{{ form.spam_kill_level }} <span class="help-inline pull-right">{% trans "or more throw spam message away" %}</span>
|
||||
{{ form.spam_tag2_level }} <span class="help-block pull-right">{% trans "or more is spam" %}</span><br>
|
||||
{{ form.spam_kill_level }} <span class="help-block pull-right">{% trans "or more throw spam message away" %}</span>
|
||||
</div>
|
||||
</div>
|
||||
{% render_field_with_activator form.spam_subject_tag2 _("default") %}
|
||||
|
||||
@@ -112,7 +112,7 @@ if (!Object.keys) {
|
||||
*/
|
||||
function clean_form_errors(formid) {
|
||||
$("#" + formid + " div.error").removeClass("error");
|
||||
$("#" + formid + " span.help-inline").remove();
|
||||
$("#" + formid + " span.help-block").remove();
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -131,7 +131,7 @@ function display_form_errors(formid, data) {
|
||||
}
|
||||
if (!$span.length) {
|
||||
$span = $("<span />", {
|
||||
"class": "help-inline",
|
||||
"class": "help-block",
|
||||
"html": value[0],
|
||||
"id": spanid
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user