add LocationGroup.compiled_room and show nice subtitle
This commit is contained in:
parent
fb26c90085
commit
45f31c5a96
5 changed files with 84 additions and 5 deletions
|
@ -109,7 +109,7 @@ class MapitemFormMixin(ModelForm):
|
|||
def create_editor_form(mapitemtype):
|
||||
possible_fields = ['name', 'package', 'altitude', 'level', 'intermediate', 'levels', 'geometry', 'direction',
|
||||
'elevator', 'button', 'crop_to_level', 'width', 'groups', 'override_altitude',
|
||||
'location_type', 'can_search', 'can_describe', 'routing_inclusion']
|
||||
'location_type', 'can_search', 'can_describe', 'routing_inclusion', 'compiled_room']
|
||||
existing_fields = [field.name for field in mapitemtype._meta.get_fields() if field.name in possible_fields]
|
||||
|
||||
class EditorForm(MapitemFormMixin, ModelForm):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue