More work an webgui

This commit is contained in:
thooge committed 2024-04-10 20:13:37 +02:00
1 parent 4b5ba85a77
commit aaa452cbb5
20 files changed
+842 -359

No files matched your search

+2 -2
View File
@@ -186,7 +186,7 @@ elseif ($action == ACT_ADD):
echo '<h2>', _('Add measurement'), "</h2>\n";
?>
<form method="post">
<form method="post" action="<?=$g_scriptname?>">
<div class="mb-3">
<label for="mname" class="form-label"><?=_('Name')?></label>
<input type="text" class="form-control" id="mname" name="mname" required autofocus>
@@ -237,7 +237,7 @@ $measurement = $sth->fetch(PDO::FETCH_OBJ);
echo '<h2>', _('Edit measurement'), "</h2>\n";
?>
<form method="post">
<form method="post" action="<?=$g_scriptname?>">
<input type="hidden" name="id" value="<?=$id?>">
<div class="mb-3">
<label for="mname" class="form-label"><?=_('Name')?></label>