{% extends 'base.html' %} {% load static %} {% block content %}

{% if existing_author %}Submit New Article{% else %}Contribute Your Work{% endif %}

Share your knowledge with our community

{% if messages %}
{% for message in messages %} {% if 'submit_articles' in message.extra_tags %} {% with message_level=message.tags|default:""|stringformat:"s" %}

{{ message }}

{% endwith %} {% endif %} {% endfor %}
{% endif %}

Returning Author?

Author Registration

Please provide your professional details for attribution

{% csrf_token %}
{% for field in author_form %}
{{ field }} {% if field.errors %}
{{ field.errors }}
{% endif %}
{% endfor %}

Article Submission

{% if existing_author %}Writing as {{ existing_author.name }}{% else %}Provide detailed article content using the rich text editor below{% endif %}

Please mention name of co-author at the top of your article, if you have any.

{% csrf_token %}
{{ blog_form.title }} {% if blog_form.title.errors %}
{{ blog_form.title.errors }}
{% endif %}
{{ blog_form.content }}
{% if blog_form.content.errors %}
{{ blog_form.content.errors }}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}