wired up "Post & Go Next" correctly

This commit is contained in:
2026-01-19 17:31:43 -07:00
parent 9ec2310a72
commit ca8a92eaa3
4 changed files with 34 additions and 15 deletions
+6 -1
View File
@@ -172,6 +172,9 @@
<form method="POST" action="{{ post_stem }}">
<input type="hidden" name="xp" value="{{ post_max }}"/>
{{ if isset(urlNextTopic) }}
<input type="hidden" name="nextlink" value="{{ urlNextTopic }}"/>
{{ end }}
<div class="bg-gray-50 p-6 rounded-lg space-y-4">
<div>
@@ -198,7 +201,9 @@
<div class="flex justify-center gap-4">
<button type="submit" name="preview" class="bg-gray-600 hover:bg-gray-700 text-white px-6 py-2 rounded font-medium transition-colors">Preview</button>
<button type="submit" name="post" class="bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded font-medium transition-colors">Post & Reload</button>
<button type="submit" name="postnext" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded font-medium transition-colors">Post & Go Next</button>
{{ if isset(urlNextTopic) }}
<button type="submit" name="postnext" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded font-medium transition-colors">Post & Go Next</button>
{{ end }}
<button type="submit" name="posttopics" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded font-medium transition-colors">Post & Go Topics</button>
</div>
</div>