diff options
| author | Christian Fowler <cfowler2@wcpss.net> | 2013-04-19 15:50:54 -0400 |
|---|---|---|
| committer | Christian Fowler <cfowler2@wcpss.net> | 2013-04-19 15:50:54 -0400 |
| commit | 70b021c2836caa21c758ee603f3a9aaad569ddc7 (patch) | |
| tree | c0b3448030e517ee7702a6433a9a58a31403ca50 /smarty | |
| parent | 8a1763778f0b4fdcd39e6d55729089945108184c (diff) | |
| download | themes-70b021c2836caa21c758ee603f3a9aaad569ddc7.tar.gz themes-70b021c2836caa21c758ee603f3a9aaad569ddc7.tar.bz2 themes-70b021c2836caa21c758ee603f3a9aaad569ddc7.zip | |
add bootstrap styling to radio
Diffstat (limited to 'smarty')
| -rw-r--r-- | smarty/libs/plugins/function.html_radios.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smarty/libs/plugins/function.html_radios.php b/smarty/libs/plugins/function.html_radios.php index a2741f6..8859cf5 100644 --- a/smarty/libs/plugins/function.html_radios.php +++ b/smarty/libs/plugins/function.html_radios.php @@ -183,9 +183,9 @@ function smarty_function_html_radios_output($name, $value, $output, $selected, $ if ($labels) { if ($label_ids) { $_id = smarty_function_escape_special_chars(preg_replace('![^\w\-\.]!' . Smarty::$_UTF8_MODIFIER, '_', $name . '_' . $value)); - $_output .= '<label for="' . $_id . '">'; + $_output .= '<label style="radio" for="' . $_id . '">'; } else { - $_output .= '<label>'; + $_output .= '<label style="radio">'; } } @@ -214,4 +214,4 @@ function smarty_function_html_radios_output($name, $value, $output, $selected, $ return $_output; } -?>
\ No newline at end of file +?> |
