add some validation to row edit, better handle setting null cols with empty
This commit is contained in:
@@ -22,7 +22,7 @@ if (!isset($tab) || $tab == '') $tab = 'edit-rows';
|
||||
<h1 class="mx-3">
|
||||
<a href="{{ $table->viewRoute }}" class="link-no-color">{{ $table->title }}</a>
|
||||
</h1>
|
||||
<a href="" class="btn btn-outline-danger mr-2" @tooltip(Discard changes)>
|
||||
<a href="{{$table->draftDiscardRoute}}" class="btn btn-outline-danger mr-2" @tooltip(Discard changes)>
|
||||
@icon(fa-trash-o, sr:Discard)
|
||||
</a>
|
||||
@if(user()->ownsTable($table))
|
||||
|
||||
Reference in New Issue
Block a user