You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
698 B
Smarty
26 lines
698 B
Smarty
<!doctype html>
|
|
|
|
<html>
|
|
|
|
% include('head.tpl', title = 'Edit Article')
|
|
|
|
<body>
|
|
|
|
<div class = 'container'>
|
|
|
|
<form action = '/article' method = 'post'>
|
|
<div class = 'title'>
|
|
<h1><input type = 'text' placeholder = 'title' name = 'title' value = '{{article['title']}}'/></h1>
|
|
Synonyms: <input type = 'synonyms' value = 'synonyms'/><br>
|
|
<p><i>Separate synonyms with bullets: cat•cats•catting•catted</i></p>
|
|
</div>
|
|
<p><textarea rows = 35 cols = 80 name = 'content'>{{article['content']}}</textarea></p>
|
|
<p><input type = 'submit' value = 'submit'/> • <input type = 'delete' value = 'delete'/></p>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|