Skip to content

Commit

Permalink
multi-gas: inibita rimozione del gas corrente, per prevenire accident…
Browse files Browse the repository at this point in the history
…ali disastri
  • Loading branch information
madbob committed Sep 7, 2024
1 parent 1d862d1 commit 3a75bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/resources/views/multigas/edit.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<x-larastrap::mform :obj="$gas" method="PUT" :action="route('multigas.update', $gas->id)">
<x-larastrap::mform :obj="$gas" method="PUT" :action="route('multigas.update', $gas->id)" :nodelete="$currentuser->gas->id == $gas->id">
<div class="row">
<div class="col-6">
<x-larastrap::text name="name" :label="_i('Nome')" required />
Expand Down

0 comments on commit 3a75bb2

Please sign in to comment.