server ver
This commit is contained in:
17
resources/views/layout2/partials/frontendedit.blade.php
Normal file → Executable file
17
resources/views/layout2/partials/frontendedit.blade.php
Normal file → Executable file
@@ -9,10 +9,11 @@
|
||||
</div>
|
||||
<div class="modal-body frontendeditmodal">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="imgsourceedit">Video Title</label>
|
||||
<input class="form-control" type="text" name="videotitle" id="videotitleedit" value="{{ $video->videotitle or ''}}" placeholder="Video Title">
|
||||
</div>
|
||||
@if(auth()->check() && auth()->user()->can('delete_video'))
|
||||
<div class="form-group">
|
||||
<label for="imgsourceedit">Video Title</label>
|
||||
<input class="form-control" type="text" name="videotitle" id="videotitleedit" value="{{ $video->videotitle or ''}}" placeholder="Video Title">
|
||||
</div>
|
||||
<label for="interpretedit">Artist</label>
|
||||
<input class="form-control" type="text" name="interpret" id="interpretedit" value="{{ $video->interpret or ''}}" placeholder="Artist">
|
||||
</div>
|
||||
@@ -23,8 +24,9 @@
|
||||
<div class="form-group">
|
||||
<label for="imgsourceedit">Video Source</label>
|
||||
<input class="form-control" type="text" name="imgsource" id="imgsourceedit" value="{{ $video->imgsource or ''}}" placeholder="Video Source">
|
||||
|
||||
@endif
|
||||
</div>
|
||||
@if(auth()->check() && auth()->user()->can('delete_video'))
|
||||
<div class="form-group">
|
||||
<label for="categoryselect">Category</label>
|
||||
<select class="form-control" name="category" id="categoryselect">
|
||||
@@ -33,6 +35,7 @@
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@endif
|
||||
<div class="form-group">
|
||||
<label for="tageditor">Add Tags</label>
|
||||
<div class="frontendedittags">
|
||||
@@ -40,13 +43,15 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="deleteit">
|
||||
@endif @if(auth()->check() && auth()->user()->can('delete_video'))<a class="delete_video" href="#"><i class="fa fa-trash fa-lg"></i> Remove upload</a>
|
||||
@if(auth()->check() && auth()->user()->can('delete_video'))<a class="delete_video" href="#"><i class="fa fa-trash fa-lg"></i> Remove upload</a>@endif
|
||||
</div>
|
||||
</div>
|
||||
@if(auth()->check() && auth()->user()->can('delete_video'))
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-dark">Save changes</button>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user