mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Initial commit, not yet complete.
This commit is contained in:
parent
53885f696d
commit
d437f07fc2
33 changed files with 884 additions and 3 deletions
20
resources/templates/edit.html
Normal file
20
resources/templates/edit.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div id="header" class="wiki">
|
||||
<h1>Editing {{title}}</h1>
|
||||
{{header|safe}}
|
||||
</div>
|
||||
<div id="left-bar" class="wiki">
|
||||
{{left-bar|safe}}
|
||||
</div>
|
||||
<div id="content" class="wiki">
|
||||
<form action="{{servlet-context}}/edit" method="POST">
|
||||
<input type="hidden" name="content" value="{{title}}"/>
|
||||
<textarea name="src" id="src" rows="25" cols="80">{{content}}</textarea>
|
||||
<p class="widget">
|
||||
<label for="submit">When you have finished editing</label>
|
||||
<input name="submit" id="submit" type="submit" value="Save!"/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue