Add ability to send email in bulk
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
<td>Admin</td>
|
||||
<td>
|
||||
{% if user.email %}
|
||||
<a class="btn btn-primary" href="{{ url_for('users.send_email', username=user.username) }}">
|
||||
<a class="btn btn-primary" href="{{ url_for('admin.send_single_email', username=user.username) }}">
|
||||
Email
|
||||
</a>
|
||||
{% else %}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
Send Email
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Send Email</h1>
|
||||
|
||||
{% from "macros/forms.html" import render_field, render_submit_field %}
|
||||
<form action="" method="POST" class="form" role="form">
|
||||
{{ form.hidden_tag() }}
|
||||
{{ render_field(form.subject) }}
|
||||
{{ render_field(form.text, fieldclass="form-control markdown") }}
|
||||
{{ render_submit_field(form.submit) }}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user