2012-09-06 10:14:03 +09:00
|
|
|
<template name="comment_edit">
|
2015-09-08 11:08:02 +09:00
|
|
|
<div class="comment-edit">
|
|
|
|
{{#if canEdit}}
|
|
|
|
<div class="grid grid-module">
|
|
|
|
<div class="comment-form">
|
|
|
|
{{> quickForm collection="Comments" doc=comment id="editCommentForm" template="bootstrap3-horizontal" label-class="control-label" input-col-class="controls" type="method-update" meteormethod="editComment" fields=commentFields}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid grid-module">
|
|
|
|
<a class="delete-link" href="/">{{_ "delete_comment"}}</a>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
{{> no_rights message="sorry_you_cannot_edit_this_comment"}}
|
|
|
|
{{/if}}
|
2015-04-28 11:32:53 +09:00
|
|
|
</div>
|
2012-09-06 10:14:03 +09:00
|
|
|
</template>
|