Authentication and form for newsletter publishing
This commit is contained in:
18
src/routes/admin/html/send_newsletter_form.html
Normal file
18
src/routes/admin/html/send_newsletter_form.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>Send a newsletter</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="/admin/newsletters" method="post">
|
||||
<input type="text" name="title" placeholder="Subject" />
|
||||
<input type="text" name="html" placeholder="Content (HTML)" />
|
||||
<input type="text" name="text" placeholder="Content (text)" />
|
||||
<button type="submit">Send</button>
|
||||
</form>
|
||||
{}
|
||||
<p><a href="/admin/dashboard">Back</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user