Dodanie komunikatów o błędach, gdy nie zostanie wpisana nazwa użytkownika lub opis...
[redakcja.git] / project / templates / explorer / file_xml.html
index 2a2afaa..08e42e4 100644 (file)
     <div id="tabs"><a href="{% url file_xml hash %}" class="active">Źródło</a><a href="{% url file_html hash %}">HTML</a>    <div style="padding: 3px; margin-left: 10px">{{ image_folders_form.folders }}</div><div style="clear: both; height: 0; width: 0">&nbsp;</div></div>    
 
     <div id="images">
-        <div class="image-box">
-            <p>Aby zobaczyć obrazki wybierz folder z obrazkami powyżej.</p>
-        </div>
+        <p>Aby zobaczyć obrazki wybierz folder z obrazkami powyżej.</p>
     </div>
     <form action="." method="post" accept-charset="utf-8">
         <div id="buttons"></div>
         {{ form.text }}
-        <p>Użytkownik: {{ form.user }} Opis zmian: {{ form.commit_message }} <input type="submit" value="Zapisz"/></p>
+        {{ form.user.errors }}
+        <p>Użytkownik: {{ form.user }}</p> 
+        {{ form.commit_message.errors }}
+        <p>Opis zmian: {{ form.commit_message }} <input type="submit" value="Zapisz"/></p>
     </form>
 {% endblock maincontent %}