mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-28 20:41:46 +00:00
Adds help text to federation settings page
This commit is contained in:
parent
005f9fc079
commit
a5ae9c86a8
2 changed files with 10 additions and 1 deletions
|
@ -184,6 +184,12 @@ class FederationSettings(CustomForm):
|
|||
"disable_federation",
|
||||
]
|
||||
|
||||
widgets = {
|
||||
"disable_federation": forms.CheckboxInput(
|
||||
attrs={"aria-describedby": "desc_disable_federation"}
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
class AutoModRuleForm(CustomForm):
|
||||
class Meta:
|
||||
|
|
|
@ -30,12 +30,15 @@
|
|||
method="POST"
|
||||
>
|
||||
{% csrf_token %}
|
||||
<section class="block">
|
||||
<section class="block box">
|
||||
<div class="field">
|
||||
<label class="label" for="id_disable_federation">
|
||||
{{ form.disable_federation }}
|
||||
{% trans "Disable federation" %}
|
||||
</label>
|
||||
<span class="help" id="desc_disable_federation">
|
||||
{% trans "Prevents your instance from interacting with other federated services. Existing data from other instances will still be present." %}
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
||||
<footer class="block">
|
||||
|
|
Loading…
Reference in a new issue