2015-04-28 11:32:53 +09:00
|
|
|
<template name="comment_submit">
|
2014-06-27 19:42:33 +09:00
|
|
|
{{#if canComment}}
|
2015-05-14 11:21:44 +09:00
|
|
|
<div class="comment-form comment-new module">
|
2015-05-06 17:13:10 +09:00
|
|
|
<h4 class="comment-new-heading">{{_ "add_comment"}}</h4>
|
2015-05-07 18:00:13 +09:00
|
|
|
{{> quickForm collection="Comments" id="submitCommentForm" template="bootstrap3-horizontal" input-col-class="controls" type="method" meteormethod="submitComment" fields=commentFields parentContext=this}}
|
2014-06-27 19:42:33 +09:00
|
|
|
</div>
|
2015-01-05 16:32:26 +09:00
|
|
|
{{else}}
|
2015-07-23 12:00:40 +09:00
|
|
|
{{#if isLoggedIn}}
|
|
|
|
<p class="cannot-comment-message">{{_ "sorry_you_do_not_have_the_rights_to_comments"}}</p>
|
|
|
|
{{else}}
|
|
|
|
<p class="cannot-comment-message"><a href="{{pathFor route='atSignIn'}}">{{_ "please_log_in_to_comment"}}</a></p>
|
|
|
|
{{/if}}
|
2014-06-27 19:42:33 +09:00
|
|
|
{{/if}}
|
2012-09-26 22:11:44 -07:00
|
|
|
</template>
|