diff --git a/malaria_web/templates/malaria/create_post.html b/malaria_web/templates/malaria/create_post.html index bbb8022f..ebc337af 100644 --- a/malaria_web/templates/malaria/create_post.html +++ b/malaria_web/templates/malaria/create_post.html @@ -17,34 +17,45 @@

New Post

{% csrf_token %}
-
- -

- - {% if form.title_post.errors %} - {% for error in form.title_post.errors %} - {{ error }} - {% endfor %} - {% endif %} - -

+ + {% if form.title_post.errors %} +
+ +

+ + {% for error in form.title_post.errors %} + {{ error }} + {% endfor %} + +

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

- - {% if form.description_post.errors %} - {% for error in form.description_post.errors %} - {{ error }} - {% endfor %} - {% endif %} - -

+ {% if form.description_post.errors %} +
+ +

+ + {% for error in form.description_post.errors %} + {{ error }} + {% endfor %} + +

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