remotes/1693045480750635534/spooky-22
kek7198 2021-12-04 06:58:26 -06:00
parent 5863e94a61
commit 7e00788f2d
1 changed files with 18 additions and 20 deletions

View File

@ -124,26 +124,24 @@
<div class="rounded-lg divide-y divide-gray-300 bg-gray-100 border border-gray-300 shadow-inset-t-white-10 p-4"> <div class="rounded-lg divide-y divide-gray-300 bg-gray-100 border border-gray-300 shadow-inset-t-white-10 p-4">
<h2 class="font-bold text-lg font-heading leading-normal mb-2">Linked accounts</h2> <h2 class="font-bold text-lg font-heading leading-normal mb-2">Linked accounts</h2>
<div class="flex flex-col space-y-2 divide-y divide-y-800"> <div>
<div> {% if v.discord_id %}
{% if v.discord_id %} <form action="/settings/remove_discord" method="post">
<form action="/settings/remove_discord" method="post"> <input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="hidden" name="formkey" value="{{v.formkey}}"> <input type="submit" class="btn btn-red" value="Disconnect Discord">
<input type="submit" class="btn btn-red" value="Disconnect Discord"> </form>
</form> <p class="mt-2 text-xs text-gray-400 mt-3">
<p class="mt-2 text-xs text-gray-400 mt-3"> Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server.
Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server. </p>
</p> {% else %}
{% else %} <a href="/discord" class="btn btn-gray">
<a href="/discord" class="btn btn-gray"> <i class="fab fa-discord fa-fw mr-1"></i>
<i class="fab fa-discord fa-fw mr-1"></i> Link Discord
Link Discord </a>
</a> <p class="mt-2 text-xs text-gray-400 mt-3">
<p class="mt-2 text-xs text-gray-400 mt-3"> Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server.
Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server. </p>
</p> {% endif %}
{% endif %}
</div>
</div> </div>
</div> </div>