diff --git a/bookwyrm/forms.py b/bookwyrm/forms.py index 55bb66506..7c41323c0 100644 --- a/bookwyrm/forms.py +++ b/bookwyrm/forms.py @@ -286,4 +286,4 @@ class ReportForm(CustomForm): class ServerForm(CustomForm): class Meta: model = models.FederatedServer - exclude = [] + exclude = ["remote_id"] diff --git a/bookwyrm/templates/settings/add_server_form.html b/bookwyrm/templates/settings/add_server_form.html index a16aac2db..ffb430438 100644 --- a/bookwyrm/templates/settings/add_server_form.html +++ b/bookwyrm/templates/settings/add_server_form.html @@ -7,9 +7,7 @@ {% block form %}
- {% csrf_token %} - {{ form.as_p }} - + {% include 'settings/server_form.html' %}
{% endblock %} diff --git a/bookwyrm/templates/settings/server_form.html b/bookwyrm/templates/settings/server_form.html new file mode 100644 index 000000000..4b9f6ef03 --- /dev/null +++ b/bookwyrm/templates/settings/server_form.html @@ -0,0 +1,39 @@ +{% load i18n %} + +{% csrf_token %} + +
+
+

+ + +

+

+ +

+ +
+

+
+
+

+ + +

+

+ + +

+
+
+

+ + +

+ +