]> git.0d.be Git - panikweb.git/commitdiff
templates: move newsletter form to the right
authorFrédéric Péters <fpeters@0d.be>
Tue, 6 Feb 2018 18:17:27 +0000 (19:17 +0100)
committerFrédéric Péters <fpeters@0d.be>
Tue, 6 Feb 2018 18:17:27 +0000 (19:17 +0100)
panikweb_templates/templates/home.html

index 13226db25398f2bd4473b1cf2ad78bd8a4cecded..bd97881c32e92a2cdca75b36f55c0deb75c4909f 100644 (file)
 
                    {% weeknav %}
                    {% weekview %}
+           </div>
+
+           <div class="rightPart">
+                   <h1 class="top">{% trans 'Focus' %}</h1>
+                   {% newsroll %}
+
 
              <form method="post" action="{% url 'newsletter-subscribe' %}"
                      class="marged" id="subscribe-form">
              <p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
-               {{ newsletter_form.as_table }}
+                <input required name="email" type="email" placeholder="votre adresse email">
                <button>{% trans 'Subscribe' %}</button>
              </form>
-           </div>
 
-           <div class="rightPart">
-                   <h1 class="top">{% trans 'Focus' %}</h1>
-                   {% newsroll %}
 
             {% if newsitems %}