{% extends "base.html" %} {% block title %} {% if post.is_some() %}Edit Post{% else %}New Post{% endif %} {% endblock %} {% block content %}

{% if post.is_some() %}Edit Post{% else %}New Post{% endif %}

Back to Posts

{% if let Some(err) = error %} {{ err }}

{% endif %} {% if let Some(p) = post %}
{% else %} {% endif %} Title:


Content (Plain Text):


Tags (comma separated):


Categories (comma separated):


Visibility:


Password (only used if Visibility is Password Protected):
{% if let Some(p) = post %} {% if p.visibility == "password_protected" %} (Leave blank to keep existing password) {% endif %} {% endif %}

{% endblock %}