Fix: wrong action url in vehicle create

This commit is contained in:
Filip Rojek 2025-01-03 00:17:59 +01:00
parent e13edeccfc
commit 15029970d6

View File

@ -9,7 +9,7 @@
</div>
<?php endif; ?>
<form method="POST" action="/vehicles/add">
<form method="POST" action="/vehicles/create">
<label for="name">Vehicle name</label>
<input type="text" name="name" id="name" required value="<?= htmlspecialchars($_POST['name'] ?? '') ?>">