Files
myriad/myriad/templates/blog/new.html
2026-05-09 23:20:23 +01:00

31 lines
904 B
HTML

{% extends 'base.html' %}
{% block header %}
<div class="title">{% block title %}New Blog Post{% endblock %}</div>
{% endblock %}
{% block content %}
<div class="container">
<form method="post">
<label for="title">Title</label>
<input name="title" id="title"><br>
<label for="content">Content</label>
<textarea name="content" id="content"></textarea><br>
<label for="mid">Choose a member:</label>
<select name="mid" id="mid">
{% for member in members %}
<option value="{{member[0]}}">{{ remove_html(member[1]) }}</option>
{% endfor %}
</select>
<br>
<input type="radio" id="public" name="privacy" value=1 checked>
<label for="public">Public</label><br>
<input type="radio" id="private" name="privacy" value=0>
<label for="private">Private</label><br>
<input type="submit" value="Submit">
</form>
</div>
{% endblock %}