MarseyWorld/files/templates/contact.html

32 lines
1.3 KiB
HTML

{% extends "default.html" %}
{% block pagetitle %}Contact{% endblock %}
{% block content %}
<div class="px-2 px-md-0">
<h1 class="text-lg-sm">Contact {{SITE_NAME}} Admins</h1>
{% if v %}
<form id="contactform" action="/contact" method="post" enctype="multipart/form-data" data-nonce="{{g.nonce}}" data-onsubmit="contact(this)">
<label for="input-message" class="mt-3">Your message</label>
<input hidden name="formkey" value="{{v|formkey}}" class="notranslate" translate="no">
<textarea autocomplete="off" maxlength="10000" id="input-message" form="contactform" name="message" class="file-ta form-control" required></textarea>
<div class="format-btns">
{{macros.emoji_btn('input-message')}}
{{macros.gif_btn('input-message')}}
{{macros.file_btn('file-upload-contact')}}
<input type="submit" value="Submit" class="btn btn-primary ml-auto">
</div>
</form>
{% include "modals/emoji.html" %}
{% include "modals/gif.html" %}
{% if SITE_NAME == 'rDrama' %}
<h5 class="mt-5">If you can see this line, we haven't been contacted by any law enforcement or governmental organizations in 2024 yet.</h5>
{% endif %}
{% else %}
<h4>by email: {{EMAIL}}</h4>
{% endif %}
</div>
<script defer src="{{'js/contact.js' | asset}}"></script>
{% endblock %}