|
|
@ -51,13 +51,22 @@ block content |
|
|
|
.uk-margin |
|
|
|
div(uk-grid).uk-grid-small |
|
|
|
.uk-width-auto |
|
|
|
label |
|
|
|
input(id="enable-comments", name="enableComments", type="checkbox", checked= post ? post.flags.enableComments : true).uk-checkbox |
|
|
|
| Enable comments |
|
|
|
.pretty.p-switch.p-slim |
|
|
|
input(id="enable-comments", name="enableComments", type="checkbox", checked= post ? post.flags.enableComments : true) |
|
|
|
.state.p-success |
|
|
|
label Enable comments |
|
|
|
|
|
|
|
.uk-width-auto |
|
|
|
.pretty.p-switch.p-slim |
|
|
|
input(id="is-featured", name="isFeatured", type="checkbox", checked= post ? post.flags.isFeatured : false) |
|
|
|
.state.p-success |
|
|
|
label Featured |
|
|
|
|
|
|
|
.uk-width-auto |
|
|
|
label |
|
|
|
input(id="is-featured", name="isFeatured", type="checkbox", checked= post ? post.flags.isFeatured : false).uk-checkbox |
|
|
|
| Featured |
|
|
|
.pretty.p-switch.p-slim |
|
|
|
input(id="enable-tweets", name="hasTweets", type="checkbox", checked= post ? post.flags.hasTweets : false) |
|
|
|
.state.p-success |
|
|
|
label Contains embedded tweets |
|
|
|
|
|
|
|
if post |
|
|
|
.uk-margin |
|
|
|