Vulcan/packages/telescope-comments/lib/client/templates/comment_form.html

17 lines
541 B
HTML
Raw Normal View History

<template name="comment_form">
2014-06-27 19:42:33 +09:00
{{#if canComment}}
2014-08-20 17:03:54 +09:00
<div class="comment-new module">
2014-06-27 19:42:33 +09:00
<form>
<div class="comment-field" id="editor">
<textarea id="comment" rows="3" autofocus="autofocus"></textarea>
</div>
<div class="comment-submit">
2014-12-27 18:34:01 +09:00
<button type="submit" class="comment-submit-button btn btn-primary btn-submit" value="{{_ "add_comment"}}" title="(⌘+enter)">{{_ "add_comment"}}</button>
2014-06-27 19:42:33 +09:00
</div>
</form>
</div>
{{else}}
<p>{{reason}}</p>
2014-06-27 19:42:33 +09:00
{{/if}}
</template>