debshots/app/views/packages/_report_dropdown.slim
Christoph Haas ff0b93380a Recaptcha support added when reporting screenshots
There's lots of spam recently. We need to do something against it.
2016-07-21 11:29:25 +02:00

13 lines
739 B
Text

// Button that reveals a dropdown/modal for users (for their own screenshots)
.text-right
button.small.dropdown.warning.button type="button" data-toggle="admin-info-#{screenshot.id}"
'Request removal
.dropdown-pane data-dropdown=true id="admin-info-#{screenshot.id}"
p If you think this screenshot does not meet the guidelines
or is misleading or not useful then please report it so that
the moderators can review it. Just let us know why you think
the screenshot should get removed:
= form_tag(report_screenshot_path(screenshot.id))
= text_area_tag 'delete_reason', nil, class: 'input-group-field', maxlength: 100, rows: 3, cols: 50
= recaptcha_tags
= submit_tag 'Request removal', class: 'button alert'