view frontend/mfrontend/templates/newjob.html @ 18:8dabb7e7f039

API zdefiniowane przez szablon
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Mon, 04 Apr 2011 10:44:09 +0200
parents c87f82a15606
children
line wrap: on
line source

{% extends "layout.html" %}
{% block body %}
  <h2>Login</h2>
  {% if error %}<p class=error><strong>Błąd:</strong> {{ error }}{% endif %}
  <form action="{{ url_for('add') }}" method=post>
    <dl>
      <dt>Opis zadania:
      <dd><input type=text name=label>
      <dt>Hash:
      <dd><input type=text name=hash>
      <dt>Metoda łamania hasha:
      <dd><input type=radio name=method value=0>Metoda 0
      <dd><input type=radio name=method value=1>Metoda 1
      <dd><input type=submit value=Dodaj>
    </dl>
  </form>
{% endblock %}