summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-24 13:24:05 -0400
committerspiderr <spider@viovio.com>2013-04-24 13:24:05 -0400
commit546f173a0db2c87836294ab7f2236e1378ed9ad5 (patch)
treeb03add7acc931b4aca2a73885ae0be63df889137 /templates
parent6bcff78208357bab1f8c33af8b4ec02191701046 (diff)
downloadblogs-546f173a0db2c87836294ab7f2236e1378ed9ad5.tar.gz
blogs-546f173a0db2c87836294ab7f2236e1378ed9ad5.tar.bz2
blogs-546f173a0db2c87836294ab7f2236e1378ed9ad5.zip
fix <label class=checkbox> wrapping to be bootstrap compliant; add .table to all table.data tags
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_blog.tpl28
1 files changed, 12 insertions, 16 deletions
diff --git a/templates/edit_blog.tpl b/templates/edit_blog.tpl
index b334141..be67cba 100644
--- a/templates/edit_blog.tpl
+++ b/templates/edit_blog.tpl
@@ -48,37 +48,33 @@
{* DEPRECATED - Slated for removal -wjames5
{if $gBitUser->hasPermission('p_blogs_create_is_public')}
<div class="control-group">
- {formlabel label="Public" for="is_public"}
- {forminput}
- <input type="checkbox" name="is_public" id="is_public" {if $gContent->getField('is_public') eq 'y'}checked="checked"{/if} />
+ <label class="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'}
- {/forminput}
+ </label>
</div>
{/if}
*}
<div class="control-group">
- {formlabel label="Use titles in blog posts" for="use_title"}
- {forminput}
- <input type="checkbox" name="use_title" id="use_title" {if !$gContent->isValid() || $gContent->getField('use_title') eq 'y'}checked="checked"{/if} />
+ <label class="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.'}
- {/forminput}
+ </label>
</div>
<div class="control-group">
- {formlabel label="Allow search" for="use_find"}
- {forminput}
- <input type="checkbox" name="use_find" id="use_find" {if !$gContent->isValid() || $gContent->getField('use_find') eq 'y'}checked="checked"{/if} />
+ <label class="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.'}
- {/forminput}
+ </label>
</div>
<div class="control-group">
- {formlabel label="Allow comments" for="allow_comments"}
- {forminput}
- <input type="checkbox" name="allow_comments" id="allow_comments" {if !$gContent->isValid() || $gContent->getField('allow_comments') eq 'y'}checked="checked"{/if} />
+ <label class="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?'}
- {/forminput}
+ </label>
</div>
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_mini_tpl"}