Files
Gw0bm/resources/views/layout2/partials/report.blade.php

40 lines
1.8 KiB
PHP

<!-- created by klee -->
@if(isset($video))
<form id="webmreport" method="POST" action="/report/{{$video->id}}">
{!! csrf_field() !!}
<div class="modal fade" id="webmreportmodal" tabindex="-1" role="dialog" aria-labelledby="Report webm">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="filterModalTitle">Report WebM</h4>
</div>
<div class="modal-body webmreportmodal">
So you want to report this webm? Tell us why:<br>
<br>
<div class="form-group">
<label for="reportReasons">
Reason(s)<br>
<em>(hold ctrl to select multiple)</em>
</label>
<select multiple class="form-control" id="reportReasons" name="reportReasons[]">
<option>Wrong rating (sfw/nsfw)</option>
<option>Shitpost</option>
<option>Low quality/effort video</option>
<option>Breaks a rule</option>
<option>Other</option>
<!-- breaks a rule, Wrong safe for rating -->
</select>
</div>
<label for="reportReasonText">Please explain a bit more detailed why you want to report this webm</label>
<textarea class="form-control" id="reportText" name="reportText" rows="3" required></textarea>
<p>Abuse of this form will be awarded with a permanent ban!</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-dark">Send Report</button>
</div>
</div>
</div>
</div>
</form>
@endif