neocities/views/_news_templates.erb
2014-05-01 19:20:34 -07:00

6 lines
No EOL
379 B
Text

<div id="comment-template" style="display: none">
<form onsubmit="new Comment({{ event_id }}, '<%= csrf_token %>').create(this); location.reload(); return false">
<input name="comment" type="text" autocomplete="off" maxlength="<%= Site::MAX_COMMENT_SIZE %>" style="width: 100%" placeholder="Comment on this...">
<button class="btn-Action">Post</button>
</form>
</div>