{% extends 'generic/object_edit.html' %} {% load i18n %} {% comment %} Custom edit form for LocationMapping. The form exposes one NetBox object selector per supported field type (region/site/location/rack/tenant). Only the selector matching the chosen "Field Type" is relevant, so this script shows that single selector and hides the rest, updating live as the field type changes. {% endcomment %} {% block javascript %} {{ block.super }} {% endblock %}