From c4a4926abc3d466fa96a4be89842726aab771fea Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Thu, 26 Sep 2013 19:28:13 -0300 Subject: [PATCH] Fixing submit blog for small screens --- src/planet/templates/feedzilla/base.html | 4 ++-- src/planet/templates/feedzilla/submit_blog.html | 57 ++++++++++++++++++++++++++++++--------------------------- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/src/planet/templates/feedzilla/base.html b/src/planet/templates/feedzilla/base.html index 44df98a..14af7ea 100644 --- a/src/planet/templates/feedzilla/base.html +++ b/src/planet/templates/feedzilla/base.html @@ -6,11 +6,11 @@
-
+
{% block feedzilla_content %}{% endblock %}
-
+

{% trans 'Tags' %}

{% feedzilla_tag_cloud %} diff --git a/src/planet/templates/feedzilla/submit_blog.html b/src/planet/templates/feedzilla/submit_blog.html index 8a952ea..5be0b99 100644 --- a/src/planet/templates/feedzilla/submit_blog.html +++ b/src/planet/templates/feedzilla/submit_blog.html @@ -2,31 +2,34 @@ {% load i18n %} {% block feedzilla_content %} - -
-

{% trans "Submit a blog" %}

- - {% if success %} - -

{% trans "Thank you. Your application has been accepted and will be reviewed by admin in the near time." %}

- {% else %} -

-
- {% csrf_token %} -
- {% trans "Blog Information" %} -


-


-


-



{% trans "You can specify what exactly feed you want submit" %}

-

-
-
- - {% endif %} - -
- -
- +

{% trans "Submit a blog" %}

+ +{% if success %} +

{% trans "Thank you. Your application has been accepted and will be reviewed by admin in the near time." %}

+{% else %} +
+ {% csrf_token %} + + {% for field in form %} +
+
+ + + {{ field.errors }} +
+
+ {% endfor %} + +
+
+ +
+
+ +
+ +
+{% endif %} {% endblock %} -- libgit2 0.21.2