2021-07-21 01:12:26 +00:00
{% extends "default.html" %}
{% block title %}
2021-08-19 05:14:52 +00:00
< title > {{'SITE_NAME' | app_config}} - Contact< / title >
< meta name = "description" content = "Contact {{'SITE_NAME' | app_config}} Admins" >
2021-07-21 01:12:26 +00:00
{% endblock %}
{% block content %}
2021-09-19 13:11:34 +00:00
{% if request.values.get('error') or error %}
2021-07-21 01:12:26 +00:00
< div class = "alert alert-danger alert-dismissible fade show my-3" role = "alert" >
< i class = "fas fa-exclamation-circle my-auto" > < / i >
< span >
2021-09-19 13:11:34 +00:00
{{error if error else request.values.get('error')}}
2021-07-21 01:12:26 +00:00
< / span >
2021-09-26 09:04:49 +00:00
< button type = "button" class = "close" data-bs-dismiss = "alert" aria-label = "Close" >
2021-07-21 01:12:26 +00:00
< span aria-hidden = "true" > < i class = "far fa-times" > < / i > < / span >
< / button >
< / div >
{% endif %}
2021-09-19 13:11:34 +00:00
{% if request.values.get('msg') or msg %}
2021-07-21 01:12:26 +00:00
< div class = "alert alert-success alert-dismissible fade show my-3" role = "alert" >
< i class = "fas fa-check-circle my-auto" aria-hidden = "true" > < / i >
< span >
2021-09-19 13:11:34 +00:00
{{msg if msg else request.values.get('msg')}}
2021-07-21 01:12:26 +00:00
< / span >
2021-09-26 09:04:49 +00:00
< button type = "button" class = "close" data-bs-dismiss = "alert" aria-label = "Close" >
2021-07-21 01:12:26 +00:00
< span aria-hidden = "true" > < i class = "far fa-times" > < / i > < / span >
< / button >
< / div >
{% endif %}
2021-08-19 05:14:52 +00:00
< h1 class = "article-title" > Contact {{'SITE_NAME' | app_config}} Admins< / h1 >
2021-07-21 01:12:26 +00:00
{% if v and v.is_activated and not v.is_suspended %}
2021-08-19 05:14:52 +00:00
< p > Use this form to contact {{'SITE_NAME' | app_config}} Admins.< / p >
2021-07-21 01:12:26 +00:00
< label class = "mt-3" > Your Email< / label >
< input class = "form-control" value = "{{v.email}}" readonly = "readonly" disabled >
< form id = "contactform" action = "/contact" method = "post" >
2021-09-03 17:03:25 +00:00
< label for = "input-message" class = "mt-3" > Your message< / label >
2021-07-21 01:12:26 +00:00
< textarea id = "input-message" form = "contactform" name = "message" class = "form-control" required > < / textarea >
< input type = "submit" value = "Submit" class = "btn btn-primary mt-3" >
< / form >
{% elif v and v.is_suspended %}
2021-08-19 05:14:52 +00:00
< p > Your {{'SITE_NAME' | app_config}} account has been suspended. You are not permitted to use this form.< / p >
2021-07-21 01:12:26 +00:00
{% elif v %}
< p > Please < a target = "_blank" href = "/settings/security" > verify your email address< / a > in order to ensure we can respond to your message if needed. Then, refresh this page.< / p >
{% else %}
< p > In order to ensure that we can respond to your message, please first < a href = "/signup" target = "_blank" > sign up< / a > or < a href = "/login" target = "_blank" > log in< / a > and make sure you have < a target = "_blank" href = "/settings/security" > verified your email address< / a > . Then, refresh this page.< / p >
{% endif %}
< pre >
< / pre >
< p > If you can see this line, we haven't been contacted by any law enforcement or governmental organizations in 2021 yet.< / p >
< pre >
< / pre >
{% endblock %}