Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/site/torrents/report.jet.html

46 lignes
2 Kio
HTML
Brut Vue normale Historique

2017-07-04 01:15:43 +02:00
{{ extends "layouts/index_site" }}
{{ import "layouts/partials/helpers/csrf" }}
{{ import "layouts/partials/helpers/captcha" }}
{{block title()}}{{ T("report_torrent_number", Form.ID) }}{{end}}
{{block content_body()}}
<div class="box">
2017-07-24 07:03:43 +02:00
<div class="user-form">
<h1>{{ T("report_torrent_number", Form.ID) }}</h1>
<form role="form" method="POST">
{{ yield csrf_field() }}
<div style="text-align:left;margin-bottom: 8px;">
2017-07-24 07:03:43 +02:00
<h3>{{ T("report_type") }}</h3>
<input type="radio" name="report_type" value="illegal_content" id="illegal" required/>
<label for="illegal">{{ T("illegal_content") }}</label>
<br />
<input type="radio" name="report_type" value="spam_garbage" id="spam" required/>
<label for="spam">{{ T("spam_garbage") }}</label>
<br />
<input type="radio" name="report_type" value="wrong_category" id="wrongcat" required/>
<label for="wrongcat">{{ T("wrong_category") }}</label>
<br />
<input type="radio" name="report_type" value="duplicate_deprecated" id="dup" required/>
<label for="dup">{{ T("duplicate_deprecated") }}</label>
<br />
{{ if !Sukebei()}}
<input type="radio" name="report_type" value="nsfw_content" id="nsfw_content" required/>
<label for="nsfw_content">{{ T("nsfw_content") }}</label>
<br />
{{end}}
<input type="radio" name="report_type" value="other" id="other" required/>
<label for="other">{{ T("other") }}</label>
<br />
<h4>{{ T("report_message") }}</h4>
<input type="text" class="form-input" name="report_message" placeholder="(Optional, 60 characters max)" maxlength="60">
2017-07-24 07:03:43 +02:00
</div>
{{if User.ID == 0}}
2017-07-24 07:03:43 +02:00
<div class="comment-captcha">
{{yield captcha(captchaid=Form.CaptchaID)}}
</div>
{{end}}
2017-07-24 07:03:43 +02:00
<input id="confirm_changes" class="form-input up-input btn-green" name="submit_report" type="submit" value="{{ T("yes")}}"/>
</form>
</div>
2017-07-04 01:15:43 +02:00
</div>
2017-07-24 07:03:43 +02:00
{{end}}