mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
17 lines
504 B
Python
17 lines
504 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
FreedomBox app for configuring Zoph.
|
|
"""
|
|
|
|
from django import forms
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class ZophForm(forms.Form):
|
|
"""Zoph application configuration form."""
|
|
|
|
enable_osm = forms.BooleanField(
|
|
label=_('Enable OpenStreetMap for maps'), required=False,
|
|
help_text=_('When enabled, requests will be made to OpenStreetMap '
|
|
'servers from user\'s browser. This impacts privacy.'))
|