Commit 4aa3d7aba9cf3d4af29e07238c243c8d280878ef
1 parent
1d404638
Exists in
master
and in
39 other branches
Fixing planet template
Showing
1 changed file
with
11 additions
and
9 deletions
Show diff stats
src/planet/templates/feedzilla/submit_blog.html
| ... | ... | @@ -10,17 +10,19 @@ |
| 10 | 10 | <form method="post" class="common-form"> |
| 11 | 11 | {% csrf_token %} |
| 12 | 12 | |
| 13 | - {% for field in form %} | |
| 14 | - <div class="col-lg-6 col-md-6 col-sm-12 col-xm-12"> | |
| 15 | - <div class="form-group{% if field.field.required %} required{% endif %}{% if field.errors %} alert alert-danger has-error{% endif %}"> | |
| 16 | - <label for="{{ field.name }}" class="control-label"> | |
| 17 | - {{ field.label }} | |
| 18 | - </label> | |
| 19 | - <input id="id_{{ field.name }}" name="{{ field.name }}" type="text" class="form-control" /> | |
| 20 | - {{ field.errors }} | |
| 13 | + <div class="row"> | |
| 14 | + {% for field in form %} | |
| 15 | + <div class="col-lg-6 col-md-6 col-sm-12 col-xm-12"> | |
| 16 | + <div class="form-group{% if field.field.required %} required{% endif %}{% if field.errors %} alert alert-danger has-error{% endif %}"> | |
| 17 | + <label for="{{ field.name }}" class="control-label"> | |
| 18 | + {{ field.label }} | |
| 19 | + </label> | |
| 20 | + <input id="id_{{ field.name }}" name="{{ field.name }}" type="text" class="form-control" /> | |
| 21 | + {{ field.errors }} | |
| 22 | + </div> | |
| 21 | 23 | </div> |
| 24 | + {% endfor %} | |
| 22 | 25 | </div> |
| 23 | - {% endfor %} | |
| 24 | 26 | |
| 25 | 27 | <div class="row"> |
| 26 | 28 | <div class="col-lg-12 text-center"> | ... | ... |