mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
16 lines
541 B
HTML
16 lines
541 B
HTML
<template name="comment_form">
|
|
{{#if canComment}}
|
|
<div class="comment-new module">
|
|
<form>
|
|
<div class="comment-field" id="editor">
|
|
<textarea id="comment" rows="3" autofocus="autofocus"></textarea>
|
|
</div>
|
|
<div class="comment-submit">
|
|
<button type="submit" class="comment-submit-button btn btn-primary btn-submit" value="{{_ "add_comment"}}" title="(⌘+enter)">{{_ "add_comment"}}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{{else}}
|
|
<p>{{reason}}</p>
|
|
{{/if}}
|
|
</template>
|