Add mount update and deletion services, add MountController@update and MountController@delete

This commit is contained in:
Matthew Penner 2020-05-20 19:35:30 -06:00
parent 77150b2551
commit 0db7debb46
6 changed files with 154 additions and 11 deletions

View file

@ -57,12 +57,12 @@
<div>
<div class="radio radio-success radio-inline">
<input type="radio" id="pReadOnlyFalse" name="read_only" value="0" @if($mount->read_only) checked @endif>
<input type="radio" id="pReadOnlyFalse" name="read_only" value="0" @if(!$mount->read_only) checked @endif>
<label for="pReadOnlyFalse">False</label>
</div>
<div class="radio radio-warning radio-inline">
<input type="radio" id="pReadOnly" name="read_only" value="1" @if(!$mount->read_only) checked @endif>
<input type="radio" id="pReadOnly" name="read_only" value="1" @if($mount->read_only) checked @endif>
<label for="pReadOnly">True</label>
</div>
</div>
@ -73,12 +73,12 @@
<div>
<div class="radio radio-success radio-inline">
<input type="radio" id="pUserMountableFalse" name="user_mountable" value="0" @if($mount->user_mountable) checked @endif>
<input type="radio" id="pUserMountableFalse" name="user_mountable" value="0" @if(!$mount->user_mountable) checked @endif>
<label for="pUserMountableFalse">False</label>
</div>
<div class="radio radio-warning radio-inline">
<input type="radio" id="pUserMountable" name="user_mountable" value="1" @if(!$mount->user_mountable) checked @endif>
<input type="radio" id="pUserMountable" name="user_mountable" value="1" @if($mount->user_mountable) checked @endif>
<label for="pUserMountable">True</label>
</div>
</div>