// update radio helper

This commit is contained in:
Kevin Granger
2013-09-05 14:06:54 +02:00
parent 1c88bdd24e
commit d9a429eccc
5 changed files with 9 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@@ -546,9 +546,6 @@ input[type="password"].input-tiny
a
text-decoration: none
.btn
text-transform: uppercase
.btn-default
@include box-shadow(darken($btn-default-bg,10%) 0 -2px 0 inset)
@@ -562,6 +559,7 @@ input[type="password"].input-tiny
@include box-shadow(lighten($gray-light,20%) 0 -2px 0 inset)
.btn
text-transform: uppercase
.caret
border-top-color: $gray-dark!important
&:hover, &:focus

View File

@@ -231,7 +231,7 @@
{elseif $input.type == 'radio'}
{foreach $input.values as $value}
<label class="checkbox-inline" {if isset($input.class)}class="{$input.class}"{/if} for="{$value.id}">
<div class="radio {if isset($input.class)}"{$input.class}"{/if}">
<input type="radio" name="{$input.name}"id="{$value.id}" value="{$value.value|escape:'htmlall':'UTF-8'}"
{if $fields_value[$input.name] == $value.value}checked="checked"{/if}
{if isset($input.disabled) && $input.disabled}disabled="disabled"{/if} />
@@ -243,10 +243,10 @@
{/if}
{else}
{$value.label}
{/if}
</label>
{if isset($input.br) && $input.br}<br />{/if}
{if isset($value.p) && $value.p}<p>{$value.p}</p>{/if}
{/if}
</div>
{*if isset($input.br) && $input.br}<br />{/if*}
{*if isset($value.p) && $value.p}<p>{$value.p}</p>{/if*}
{/foreach}
{elseif $input.type == 'switch'}
<div class="row">

View File

@@ -68,7 +68,7 @@
{if $tr.$key}
<span class="label label-success"><i class="icon-check-sign"></i> {l s='Enabled'}</span>
{else}
<span class="label label-important"><i class="icon-ban-circle"></i> {l s='Disabled'}</span>
<span class="label label-warning"><i class="icon-ban-circle"></i> {l s='Disabled'}</span>
{/if}
{elseif isset($params.position)}

View File

@@ -24,7 +24,7 @@
*}
{include file='header.tpl'}
{if isset($conf)}
<div class="alert">
<div class="alert alert-success">
{$conf}
</div>
{/if}