From 6d2df77e740852e04aa15725bfd13838136ae790 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 3 Jul 2015 09:14:35 +0200 Subject: Minor improvements to the edit feed forms. --- pyaggr3g470r/templates/edit_feed.html | 55 ++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 24 deletions(-) (limited to 'pyaggr3g470r/templates/edit_feed.html') diff --git a/pyaggr3g470r/templates/edit_feed.html b/pyaggr3g470r/templates/edit_feed.html index 22aab58b..d1e45b0e 100644 --- a/pyaggr3g470r/templates/edit_feed.html +++ b/pyaggr3g470r/templates/edit_feed.html @@ -8,7 +8,7 @@
- {{ form.link(size="100%") }} + {{ form.link(class_="form-control", size="100%") }}
{% for error in form.link.errors %} {{ error }}
{% endfor %}
@@ -16,7 +16,7 @@
- {{ form.title(size="100%", placeholder=_('Optional')) }} + {{ form.title(class_="form-control", size="100%", placeholder=_('Optional')) }}
{% for error in form.title.errors %} {{ error }}
{% endfor %}
@@ -24,7 +24,7 @@
- {{ form.site_link(size="100%", placeholder=_('Optional')) }} + {{ form.site_link(class_="form-control", size="100%", placeholder=_('Optional')) }}
{% for error in form.site_link.errors %} {{ error }}
{% endfor %}
@@ -33,33 +33,40 @@
- {{ form.enabled(style="margin-left: 0px;") }} + {{ form.enabled(class_="checkbox", style="margin-left: 0px;") }}
-
- +
+ +
+ +
+
{% if feed %} - {% for filter_ in feed.filters or [] %} -
- - - - - +
+ {% for filter_ in feed.filters or [] %} +
+ + + + + +
+ {% endfor %}
- {% endfor %} + {% endif %} -
+
{{ form.submit(class_="btn btn-default") }} -- cgit