06/16 Phase 6

This commit is contained in:
2026-06-16 13:29:32 -04:00
parent 2e9025fe55
commit 479afde2fa
16 changed files with 527 additions and 8 deletions
+11
View File
@@ -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') }}