Added showing list of children books on book detail page.
[wolnelektury.git] / templates / auth / login.html
index 272256f..6db94aa 100644 (file)
@@ -1,11 +1,24 @@
 {% extends "base.html" %}
 
+{% block title %}Zaloguj / Zarejestruj się w WolneLektury.pl{% endblock %}
+
 {% block body %}
-    <form method="POST" action="." class="simple-form">
-    <ol>
-        {{ form.as_ul }}
-        <li><input type="submit" value="Zaloguj" /></li>
-    </ol>
-    <p><input type="hidden" name="next" value="{{ next }}" /></p>
+    <h1>Zaloguj się / Załóż konto</h1>
+    <form action="." method="get" accept-charset="utf-8" id="search-form">
+        <p><li>{{ search_form.q }} <input type="submit" value="Szukaj" /></li> <strong>lub</strong> <a href="{% url main_page %}">wróć do strony głównej</a></p>
+    </form>
+    <form method="post" action="." id="login-form" class="cuteform">
+        <h2>Zaloguj się</h2>
+        <ol>
+            {{ form.as_ul }}
+            <li><input type="submit" value="Zaloguj się" /></li>
+        </ol>
+        <p><input type="hidden" name="next" value="{{ next }}" /></p>
+    </form>
+    
+    <form action="." method="post" accept-charset="utf-8" id="registration-form">
+        <h2>Załóż konto</h2>
+
+        <p><input type="submit" value="Załóż konto"/></p>
     </form>
 {% endblock %}