mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
14 lines
No EOL
590 B
HTML
14 lines
No EOL
590 B
HTML
<template name="post_edit">
|
|
<div class="form-page post-edit">
|
|
{{#if canEdit}}
|
|
<div class="grid grid-module">
|
|
{{> quickForm collection="Posts" doc=post id="editPostForm" template="bootstrap3-horizontal" label-class="control-label" input-col-class="controls" type="method-update" meteormethod="editPost" fields=postFields}}
|
|
</div>
|
|
<div class="grid grid-module">
|
|
<a class="delete-link" href="/">{{_ "delete_post"}}</a>
|
|
</div>
|
|
{{else}}
|
|
{{> no_rights message="sorry_you_cannot_edit_this_post"}}
|
|
{{/if}}
|
|
</div>
|
|
</template> |