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
commitf21a05a98d1bab50b6c07ade20e9471393459e04 (patch)
tree34dc777b18acd87fc1514554b9c47fc74b93c519
parent971619a52572cbe0044dbab79a3f8052d018a898 (diff)
downloadblogs-f21a05a98d1bab50b6c07ade20e9471393459e04.tar.gz
blogs-f21a05a98d1bab50b6c07ade20e9471393459e04.tar.bz2
blogs-f21a05a98d1bab50b6c07ade20e9471393459e04.zip
add-forminput-label-param-for-bs3
-rw-r--r--templates/edit_blog.tpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/edit_blog.tpl b/templates/edit_blog.tpl
index d65d54a..c6c3761 100644
--- a/templates/edit_blog.tpl
+++ b/templates/edit_blog.tpl
@@ -48,33 +48,33 @@
{* DEPRECATED - Slated for removal -wjames5
{if $gBitUser->hasPermission('p_blogs_create_is_public')}
<div class="form-group">
- <label class="checkbox">
+ {forminput label="checkbox"}
<input type="checkbox" name="is_public" id="is_public" {if $gContent->getField('is_public') eq 'y'}checked="checked"{/if} />Public
{formhelp note='Allow other user to post in this blog'}
- </label>
+ {/forminput}
</div>
{/if}
*}
<div class="form-group">
- <label class="checkbox">
+ {forminput label="checkbox"}
<input type="checkbox" name="use_title" id="use_title" {if !$gContent->isValid() || $gContent->getField('use_title') eq 'y'}checked="checked"{/if} />Use titles in blog posts
{formhelp note='If this is not selected, the time and date of when the post was created will be displayed instead of the post title.'}
- </label>
+ {/forminput}
</div>
<div class="form-group">
- <label class="checkbox">
+ {forminput label="checkbox"}
<input type="checkbox" name="use_find" id="use_find" {if !$gContent->isValid() || $gContent->getField('use_find') eq 'y'}checked="checked"{/if} />Allow search
{formhelp note='Allow users to search this blog for occurances of words.'}
- </label>
+ {/forminput}
</div>
<div class="form-group">
- <label class="checkbox">
+ {forminput label="checkbox"}
<input type="checkbox" name="allow_comments" id="allow_comments" {if !$gContent->isValid() || $gContent->getField('allow_comments') eq 'y'}checked="checked"{/if} />Allow comments
{formhelp note='Are other users allowed to add comments to posts made in this blog?'}
- </label>
+ {/forminput}
</div>
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_mini_tpl"}