diff --git a/bookwyrm/forms.py b/bookwyrm/forms.py index 55bb6650..7c41323c 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 a16aac2d..ffb43043 100644 --- a/bookwyrm/templates/settings/add_server_form.html +++ b/bookwyrm/templates/settings/add_server_form.html @@ -7,9 +7,7 @@ {% block form %}
{% endblock %} diff --git a/bookwyrm/templates/settings/server_form.html b/bookwyrm/templates/settings/server_form.html new file mode 100644 index 00000000..4b9f6ef0 --- /dev/null +++ b/bookwyrm/templates/settings/server_form.html @@ -0,0 +1,39 @@ +{% load i18n %} + +{% csrf_token %} + ++ + +
++ +
+ + +
++ + +
++ + +
+ +