mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
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>
28 lines
530 B
HTML
28 lines
530 B
HTML
{% extends "base.html" %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
{% block page_js %}
|
|
<script src="{% static 'sharing/sharing_add_edit.js' %}" defer></script>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h3>{{ title }}</h3>
|
|
|
|
<form class="form form-add-edit" method="post">
|
|
{% csrf_token %}
|
|
|
|
{{ form|bootstrap }}
|
|
|
|
<input type="submit" class="btn btn-primary"
|
|
value="{% trans "Submit" %}"/>
|
|
</form>
|
|
|
|
{% endblock %}
|