FreedomBox/plinth/modules/networks/templates/connections_edit.html
Sunil Mohan Adapa 144efd71b8
html: Drop type attribute value of text/javascript
As is encouraged[1]

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script#attribute_is_not_set_default_an_empty_string_or_a_javascript_mime_type

Links:

- Apps page loads and javascript works as expected.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-03-19 19:12:14 -04:00

27 lines
553 B
HTML

{% extends "base.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% load static %}
{% block page_js %}
<script src="{% static 'networks/networks.js' %}" defer></script>
{% endblock %}
{% block content %}
<h3>{{ title }}</h3>
<form class="form form-connection form-connection-edit" method="post">
{% csrf_token %}
{% include "connections_fields.html" %}
<input type="submit" class="btn btn-primary"
value="{% trans "Edit Connection" %}"/>
</form>
{% endblock %}