Subversion Repositories navi

Rev

Rev 57 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
58 szabot 1
{% extends "base.html" %}
2
 
62 szabot 3
{% block title %}Word parser{% end %}
58 szabot 4
 
5
{% block body %}
6
<b>Na'vi word:</b><br />
59 szabot 7
<form action="/parse2" method="post">
58 szabot 8
<input id="word" name="word" type="text" value="{{last}}" style="width: 100%;" />
9
<input name="btn" type="submit" value="Parse!" />
10
</form>
11
{% if type(out) == list %}
12
{{ out[0][1]}} <br />
64 szabot 13
{% for elem in out[1:] %}
14
{{ elem }} <br />
58 szabot 15
{% end %}
64 szabot 16
{% end %}
58 szabot 17
<script type="text/javascript">
18
document.getElementById("word").focus();
19
</script>
20
{% end %}