2020-05-04 04:53:28 +02:00
|
|
|
<div class='content-wrapper pool-create'>
|
|
|
|
<form>
|
|
|
|
<ul class='input'>
|
|
|
|
<li class='names'>
|
|
|
|
<%= ctx.makeTextInput({
|
|
|
|
text: 'Names',
|
|
|
|
value: '',
|
|
|
|
required: true,
|
|
|
|
}) %>
|
|
|
|
</li>
|
|
|
|
<li class='category'>
|
|
|
|
<%= ctx.makeSelect({
|
|
|
|
text: 'Category',
|
|
|
|
keyValues: ctx.categories,
|
|
|
|
selectedKey: 'default',
|
|
|
|
required: true,
|
|
|
|
}) %>
|
|
|
|
</li>
|
|
|
|
<li class='description'>
|
|
|
|
<%= ctx.makeTextarea({
|
|
|
|
text: 'Description',
|
|
|
|
value: '',
|
|
|
|
}) %>
|
|
|
|
</li>
|
2020-05-04 09:09:33 +02:00
|
|
|
<li class='posts'>
|
|
|
|
<%= ctx.makeTextInput({
|
|
|
|
text: 'Posts',
|
|
|
|
value: '',
|
2020-05-04 23:44:16 +02:00
|
|
|
placeholder: 'space-separated post IDs',
|
2020-05-04 09:09:33 +02:00
|
|
|
}) %>
|
|
|
|
</li>
|
2020-05-04 04:53:28 +02:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<% if (ctx.canCreate) { %>
|
|
|
|
<div class='messages'></div>
|
|
|
|
|
|
|
|
<div class='buttons'>
|
|
|
|
<input type='submit' class='save' value='Create pool'>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
</form>
|
|
|
|
</div>
|