Add pool input box in post details

This commit is contained in:
Ruin0x11
2020-05-04 02:20:23 -07:00
parent e6bf102bc0
commit 8795279a73
11 changed files with 337 additions and 6 deletions

View File

@ -0,0 +1,8 @@
<div class='pool-input'>
<div class='main-control'>
<input type='text' placeholder='type to add…'/>
<!-- <button>Add</button> -->
</div>
<ul class='compact-pools'></ul>
</div>

View File

@ -87,6 +87,12 @@
</section>
<% } %>
<% if (ctx.canEditPoolPosts) { %>
<section class='pools'>
<%= ctx.makeTextInput({}) %>
</section>
<% } %>
<% if (ctx.canEditPostContent) { %>
<section class='post-content'>
<label>Content</label>