forked from leftypol/leftypol
added delete form in templates
This commit is contained in:
parent
915dcc55eb
commit
8edccdb2aa
2 changed files with 22 additions and 0 deletions
|
@ -86,7 +86,18 @@
|
|||
</table>
|
||||
</form>
|
||||
<hr/>
|
||||
<form action="{post_url}" method="post">
|
||||
<input type="hidden" name="delete" value="1" />
|
||||
<input type="hidden" name="board" value="{board[uri]}" />
|
||||
{mod?<input type="hidden" name="mod" value="1" />}
|
||||
{body}
|
||||
<div class="delete">
|
||||
Delete Post [<input title="Delete file only" type="checkbox" name="file" id="delete_file"/>
|
||||
<label for="delete_file">File</label>] Password
|
||||
<input type="password" name="password" size="12" maxlength="18" />
|
||||
<input type="submit" value="Delete" />
|
||||
</div>
|
||||
</form>
|
||||
Pages: {pages:
|
||||
[<a href="{pages[link]}">{pages[num]}</a>]{!%last? }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue