fix blog edition

This commit is contained in:
leosw
2018-11-05 22:29:14 +01:00
parent 7a29f0825f
commit b5115182d5
4 changed files with 37 additions and 25 deletions

View File

@@ -34,8 +34,8 @@
<input type="text" value="<?=$blogArticle->permalink?>" name="permalink" id="permalink" placeholder="URL">
<? } ?>
<label for="comments">
<input type="checkbox" name="comments" id="comments" value="comments"
<label for="is_commentable">
<input type="checkbox" name="is_commentable" id="is_commentable"
<? if($blogArticle->is_commentable == 't') { ?>
checked
<? } ?>