More work an webgui
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user