{% extends "base.html" %} {% block title %}Arch Linux - News: {% if form.instance.id %}Edit{% else %}Add{% endif %} Article{% endblock %} {% block content %}
{% if form.instance.id %}

News: Edit Article

{% else %}

News: Add Article

{% endif %}

News articles are formatted using Markdown syntax. Please use this syntax if at all possible over raw HTML, which can be used if Markdown doesn't support what you would like to do. Before posting, you are highly encouraged to use the Preview button to check your work. Javascript must be enabled to use it, but it will render the news item exactly as it will appear on the news view page.

{% csrf_token %}
{{ form.as_p }}

{% load cdn %}{% jquery %} {% endblock %}