Vulcan/packages/nova-comments/lib/client/templates/comment_submit.html

15 lines
686 B
HTML
Raw Normal View History

<template name="comment_submit">
2014-06-27 19:42:33 +09:00
{{#if canComment}}
<div class="comment-form comment-new module">
2015-05-06 17:13:10 +09:00
<h4 class="comment-new-heading">{{_ "add_comment"}}</h4>
{{> 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>
{{else}}
{{#if isLoggedIn}}
<p class="cannot-comment-message">{{_ "sorry_you_do_not_have_the_rights_to_comments"}}</p>
{{else}}
2015-10-06 21:31:57 +09:00
<p class="cannot-comment-message"><a href="{{pathFor route='signIn'}}">{{_ "please_log_in_to_comment"}}</a></p>
{{/if}}
2014-06-27 19:42:33 +09:00
{{/if}}
</template>