Added delete functionality...
This commit is contained in:
parent
a8de58d5b4
commit
232fc86560
|
@ -92,6 +92,14 @@
|
|||
|
||||
<button type="submit" class="btn btn-primary">Opdater</button>
|
||||
</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>
|
||||
@endisset
|
||||
|
|
Loading…
Reference in New Issue