Commit c8ee4f73b80e0bc71ca7e6ab4fa910759496dc2d
1 parent
a12c1a6c
add Vitaliy's widgets
Showing
2 changed files
with
3 additions
and
4 deletions
Show diff stats
common/config/.gitignore
frontend/views/accounts/general.php
@@ -77,8 +77,8 @@ | @@ -77,8 +77,8 @@ | ||
77 | [1 => 'Частное лицо', 2 => 'Компания'], | 77 | [1 => 'Частное лицо', 2 => 'Компания'], |
78 | [ | 78 | [ |
79 | 'item' => function($index, $label, $name, $checked, $value) { | 79 | 'item' => function($index, $label, $name, $checked, $value) { |
80 | - $return = '<input type="radio" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >'; | ||
81 | - $return .= '<label>'; | 80 | + $return = '<input id="select_admin_'.$value.'" type="radio" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >'; |
81 | + $return .= '<label for="select_admin_'.$value.'" >'; | ||
82 | $return .= '<span></span>' . ucwords($label); | 82 | $return .= '<span></span>' . ucwords($label); |
83 | $return .= '</label>'; | 83 | $return .= '</label>'; |
84 | 84 |