From c9b8d7ce0eba10fa3e0f0f0b87ad9f9479589062 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Tue, 9 Jun 2015 12:06:53 +0200 Subject: a more bootstrap edit feed page & removing unused code --- pyaggr3g470r/templates/edit_feed.html | 49 +++++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 13 deletions(-) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/edit_feed.html b/pyaggr3g470r/templates/edit_feed.html index be63aa53..a56238d5 100644 --- a/pyaggr3g470r/templates/edit_feed.html +++ b/pyaggr3g470r/templates/edit_feed.html @@ -2,23 +2,46 @@ {% block content %}
-

{{ action }}

-
+

{{ action }}

+ {{ form.hidden_tag() }} +
+ +
+ {{ form.link(size="100%") }} +
+ {% for error in form.link.errors %} {{ error }}
{% endfor %} +
- {{ form.link.label }} - {{ form.link(class_="form-control") }} {% for error in form.link.errors %} {{ error }}
{% endfor %} +
+ +
+ {{ form.title(size="100%", placeholder=_('Optional')) }} +
+ {% for error in form.title.errors %} {{ error }}
{% endfor %} +
- {{ form.title.label }} - {{ form.title(class_="form-control", placeholder=_('Optional')) }} {% for error in form.title.errors %} {{ error }}
{% endfor %} +
+ +
+ {{ form.site_link(size="100%", placeholder=_('Optional')) }} +
+ {% for error in form.site_link.errors %} {{ error }}
{% endfor %} +
- {{ form.site_link.label }} - {{ form.site_link(class_="form-control", placeholder=_('Optional')) }} {% for error in form.site_link.errors %} {{ error }}
{% endfor %} - - {{ form.enabled.label }} - {{ form.enabled(class_="checkbox") }} -
- {{ form.submit(class_="btn btn-default") }} +
+ +
+
+ {{ form.enabled(style="margin-left: 0px;") }} +
+
+
+
+
+ {{ form.submit(class_="btn btn-default") }} +
+
-- cgit