Almost working; rule editor doesn't save.
This commit is contained in:
parent
28da9555ba
commit
77cfb32bb2
7 changed files with 94 additions and 13 deletions
14
resources/templates/rules.html
Normal file
14
resources/templates/rules.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<form action="{{servlet-context}}/rules" method="POST">
|
||||
<textarea name="src" id="src" rows="10" cols="80">
|
||||
{{rule-text}}
|
||||
</textarea>
|
||||
<p class="widget">
|
||||
<label for="submit">When you have finished editing</label>
|
||||
<input name="submit" id="submit" type="submit" value="Save your rules"/>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue