comparison frontend/mfrontend/templates/newjob.html @ 10:58a993029d9f

Dodawanie nowych zadań i dekorator sprawdzający zalogowanie.
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Mon, 07 Mar 2011 10:47:48 +0100
parents
children c87f82a15606
comparison
equal deleted inserted replaced
9:9a0a9fa7f91d 10:58a993029d9f
1 {% extends "layout.html" %}
2 {% block body %}
3 <h2>Login</h2>
4 {% if error %}<p class=error><strong>Błąd:</strong> {{ error }}{% endif %}
5 <form action="{{ url_for('add') }}" method=post>
6 <dl>
7 <dt>Opis zadania:
8 <dd><input type=text name=label>
9 <dt>Hash:
10 <dd><input type=text name=hash>
11 <dd><input type=submit value=Dodaj>
12 </dl>
13 </form>
14 {% endblock %}