From a609ede7a8ff94921f703ee395e3be3426a6da2d Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Tue, 6 Feb 2024 12:14:14 +0100 Subject: views: Add update room Add view to modify room information such as name, gateway and netmask --- ogcp/templates/actions/room_update.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ogcp/templates/actions/room_update.html (limited to 'ogcp/templates/actions/room_update.html') diff --git a/ogcp/templates/actions/room_update.html b/ogcp/templates/actions/room_update.html new file mode 100644 index 0000000..608b904 --- /dev/null +++ b/ogcp/templates/actions/room_update.html @@ -0,0 +1,19 @@ +{% extends 'scopes.html' %} +{% import "bootstrap/wtf.html" as wtf %} + +{% set sidebar_state = 'disabled' %} +{% set btn_back = true %} + +{% block nav_room %} active{% endblock %} +{% block nav_room_add %} active{% endblock %} +{% block content %} + +

{{_('Update room')}}

+ +{{ wtf.quick_form(form, + method='post', + button_map={'submit': 'primary'}, + extra_classes="mx-5") }} + +{% endblock %} + -- cgit v1.2.3-18-g5258