         </div>
                </form>
            </div>
        </div>
    </div>
</div>

{% block javascripts %}
    <script>
        /**
         * Updates the label of the join input based on the selected type of declaration.
         */
        function updateLabel() {
            const selectElement = document.getElementById("type-name");
            const selectedValue = selectElement.value;
            const labelElement = document.getElementById("join-label");

            if (selectedValue === "