Subscribe to multireddit button. Closes #104

This commit is contained in:
spikecodes 2021-02-12 20:47:54 -08:00
parent 809be42e01
commit f06320a4ae
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
4 changed files with 39 additions and 18 deletions

View file

@ -39,6 +39,12 @@
{% endif %}
</form>
{% if sub.name.contains("+") %}
<form action="/r/{{ sub.name }}/subscribe/" method="POST">
<button id="multisub" class="subscribe">Subscribe to Multireddit</button>
</form>
{% endif %}
<div id="posts">
{% for post in posts %}
{% if !(post.flags.nsfw && prefs.show_nsfw != "on") %}