{% if user.is_authenticated %}
{% if user.is_active %}
{% if user.is_staff %}
{% else %}
You should have Staff status to write articles
{% endif%}
{% else %}
You are not an active user
{% endif %}
{% else %}
You should log in to write articles
{% endif %}