06/16 Phase 6
This commit is contained in:
@@ -62,6 +62,17 @@
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
<button class="btn ghost" type="submit">{{ _('♥ Save listing') }}</button>
|
||||
</form>
|
||||
<form method="post" class="report-form"
|
||||
action="{{ url_for('listings.report', listing_id=listing.id) }}">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
<select class="input" name="reason">
|
||||
{% for r in ['spam', 'scam', 'offensive', 'duplicate', 'miscategorized', 'other'] %}
|
||||
<option value="{{ r }}">{{ r }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input class="input" name="note" placeholder="{{ _('Optional note') }}">
|
||||
<button class="btn ghost tiny" type="submit">{{ _('Report listing') }}</button>
|
||||
</form>
|
||||
{% else %}
|
||||
<a class="btn" href="{{ url_for('auth.login') }}?next={{ request.path }}">
|
||||
{{ _('Sign in to contact') }}
|
||||
|
||||
Reference in New Issue
Block a user