niche/templates/new_link.html
Michael Hope 12953d9616 Tidied up all of the forms. Now uses CSS.
Added a hook to automatically add descriptions and style to forms.
Now need the 'current password' when changing the password.
Changed 'content' to 'comment' for the new comment form.
2013-10-10 22:05:49 +02:00

25 lines
507 B
HTML

$def with (form, preview)
$if preview != None:
$ link = preview
<div class="preview">
$if not link.URL:
<b>$link.title</b>
$else:
<a href="$link.URL">$:link.URL_description</a>
$:link.description
$if link.extended:
<p>$:link.extended
</div>
<p>
<div id="commentform">
<form name="main" method="post">
$:form.render_css()
<br/>
<input type="submit" name="post" value="Post"/>
<input type="submit" name="preview" value="Preview"/>
</form>
</div>