Source code for town6.forms.directory

from onegov.org.forms.directory import (
    DirectoryBaseForm as OrgDirectoryBaseForm)
from onegov.town6.theme import user_options


[docs] class DirectoryBaseForm(OrgDirectoryBaseForm): """ Form for directories. """ @property
[docs] def default_marker_color(self) -> str: return ( (self.request.app.org.theme_options or {}).get('primary-color-ui') or user_options['primary-color-ui'] )