diff options
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r-- | archaeological_context_records/forms.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 27900ef80..545bcb3c4 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -346,23 +346,6 @@ class RecordFormGeneral(CustomForm, ManageOldType): validators=[validators.MaxLengthValidator(200)], ) - HEADERS["x"] = FormHeader(_("Coordinates")) - x = forms.FloatField(label=_("X"), required=False) - estimated_error_x = forms.FloatField( - label=_("Estimated error for X"), required=False - ) - y = forms.FloatField(label=_("Y"), required=False) - estimated_error_y = forms.FloatField( - label=_("Estimated error for Y"), required=False - ) - z = forms.FloatField(label=_("Z"), required=False) - estimated_error_z = forms.FloatField( - label=_("Estimated error for Z"), required=False - ) - spatial_reference_system = forms.ChoiceField( - label=_("Spatial Reference System"), required=False, choices=[] - ) - TYPES = [ FieldType("unit", models.Unit), FieldType("excavation_technic", models.ExcavationTechnicType, is_multiple=True), @@ -370,18 +353,6 @@ class RecordFormGeneral(CustomForm, ManageOldType): FieldType("spatial_reference_system", SpatialReferenceSystem), ] - PROFILE_FILTER = { - "mapping": [ - "x", - "y", - "z", - "estimated_error_x", - "estimated_error_y", - "estimated_error_z", - "spatial_reference_system", - ], - } - def __init__(self, *args, **kwargs): # TODO: simplify operation = None |