Commit feee1fd4833b51e6f5a0e177d4fc0b31be19761c
1 parent
02ed7c2c
Exists in
master
and in
39 other branches
Adding submit_blog template
Showing
1 changed file
with
16 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,16 @@ | @@ -0,0 +1,16 @@ | ||
1 | +{% extends 'feedzilla/base.html' %} | ||
2 | +{% load i18n %} | ||
3 | + | ||
4 | +{% block feedzilla_content %} | ||
5 | +<h1>{% trans "Submit a blog" %}</h1> | ||
6 | + | ||
7 | +{% if success %} | ||
8 | +<p>{% trans "Thank you. Your application has been accepted and will be reviewed by admin in the near time." %}</p> | ||
9 | +{% else %} | ||
10 | +<form method="post" class="common-form"> | ||
11 | + {% csrf_token %} | ||
12 | + {{ form.as_p }} | ||
13 | + <p><input type="submit" value="{% trans "Submit" %}" /></p> | ||
14 | +</form> | ||
15 | +{% endif %} | ||
16 | +{% endblock %} |