32 lines
No EOL
1 KiB
HTML
32 lines
No EOL
1 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Send Update{% endblock %}
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<div>
|
|
<h1 class="page-title">Send Update</h1>
|
|
<p class="page-subtitle">Send an email update to all subscribers</p>
|
|
</div>
|
|
<div class="page-actions">
|
|
<a href="{{ url_for('index') }}" class="button button-secondary">Dashboard</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<form action="{{ url_for('send_update') }}" method="POST" class="form">
|
|
<div class="form-group">
|
|
<label for="subject">Subject</label>
|
|
<input type="text" name="subject" id="subject" required />
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="body">Body (HTML allowed)</label>
|
|
<textarea name="body" id="body" rows="12" required
|
|
placeholder="<h1>Title</h1><p>Your content...</p>"></textarea>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<button type="submit" class="button button-primary">Send Update</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |