mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-11 07:12:57 +02:00
fix: user settings form
This commit is contained in:
@@ -137,13 +137,13 @@ class UserSettingsForm(forms.ModelForm):
|
|||||||
self.helper.layout = Layout(
|
self.helper.layout = Layout(
|
||||||
"language",
|
"language",
|
||||||
"timezone",
|
"timezone",
|
||||||
HTML("<hr />"),
|
HTML('<hr class="hr my-3" />'),
|
||||||
"date_format",
|
"date_format",
|
||||||
"datetime_format",
|
"datetime_format",
|
||||||
"number_format",
|
"number_format",
|
||||||
HTML("<hr />"),
|
HTML('<hr class="hr my-3" />'),
|
||||||
"start_page",
|
"start_page",
|
||||||
HTML("<hr />"),
|
HTML('<hr class="hr my-3" />'),
|
||||||
"volume",
|
"volume",
|
||||||
FormActions(
|
FormActions(
|
||||||
NoClassSubmit("submit", _("Save"), css_class="btn btn-primary"),
|
NoClassSubmit("submit", _("Save"), css_class="btn btn-primary"),
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% if field.help_text %}
|
{% if field.help_text %}
|
||||||
{% if help_text_inline %}
|
{% if help_text_inline %}
|
||||||
<span id="{{ field.auto_id }}_helptext" class="label text-wrap">{{ field.help_text|safe}}</span>
|
<span id="{{ field.auto_id }}_helptext" class="label text-wrap block">{{ field.help_text|safe}}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p {% if field.auto_id %}id="{{ field.auto_id }}_helptext" {% endif %}class="label text-wrap">{{ field.help_text|safe }}</p>
|
<p {% if field.auto_id %}id="{{ field.auto_id }}_helptext" {% endif %}class="label text-wrap block">{{ field.help_text|safe }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user