summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2014-11-19 16:19:41 -0500
committerspiderr <spider@viovio.com>2014-11-19 16:19:41 -0500
commit77c62592c8ecb37cbce707876a49959fb01989d1 (patch)
tree8e327be65e1438a0da902cda141f4e54fa53b842
parent93ed1d263d1daec34d41215210e4b356228314dc (diff)
downloadwiki-77c62592c8ecb37cbce707876a49959fb01989d1.tar.gz
wiki-77c62592c8ecb37cbce707876a49959fb01989d1.tar.bz2
wiki-77c62592c8ecb37cbce707876a49959fb01989d1.zip
add-forminput-label-param-for-bs3
-rw-r--r--templates/edit_page.tpl8
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/edit_page.tpl b/templates/edit_page.tpl
index b3bde4a..6b9e829 100644
--- a/templates/edit_page.tpl
+++ b/templates/edit_page.tpl
@@ -114,11 +114,9 @@
{if $gBitUser->hasPermission( 'p_wiki_save_minor' )}
<div class="form-group">
- {forminput}
- <label class="checkbox">
+ {forminput label="checkbox"}
<input type="checkbox" name="isminor" id="isminor" value="on" {if $pageInfo.isminor}checked="checked" {/if}/>Minor save
{formhelp note="This will prevent the generation of a new version. You can use this, if your changes are minor."}
- </label>
{/forminput}
</div>
{/if}
@@ -202,11 +200,9 @@
</div>
<div class="form-group">
- {forminput}
- <label class="checkbox">
+ {forminput label="checkbox"}
<input type="checkbox" name="parsehtml" id="parsehtml" {if $parsehtml eq 'y'}checked="checked"{/if} />Try to convert HTML to wiki
{formhelp note=""}
- </label>
{/forminput}
</div>