Added delete functionality...

This commit is contained in:
Sebastian Davaris 2021-02-25 13:29:27 +01:00
parent a8de58d5b4
commit 232fc86560
1 changed files with 8 additions and 0 deletions

View File

@ -92,6 +92,14 @@
<button type="submit" class="btn btn-primary">Opdater</button> <button type="submit" class="btn btn-primary">Opdater</button>
</form> </form>
<form action="" method="post">
@csrf
@method("DELETE")
<p>ADVARSEL: Du kan IKKE gendanne slettede opslag!</p>
<button class="btn btn-danger" type="submit">Slet</button>
</form>
</div> </div>
</div> </div>
@endisset @endisset