Skip to content
Snippets Groups Projects
Commit ae525cee authored by Laurent's avatar Laurent
Browse files

dev #27000 rgaa article title

add label for profil selector
parent c62aaeb6
Branches
Tags
2 merge requests!984Dev#27000 rgaa article title,!983Dev#27000 rgaa article title
......@@ -75,8 +75,14 @@ class ZendAfi_View_Helper_ComboProfils extends ZendAfi_View_Helper_BaseHelper {
if ($autoload)
$extra = ' onchange="window.location=\''.BASE_URL.'?id_profil=\' + this.value"';
return sprintf('<select id="%s" name="%s"%s>%s</select>',
$this->_select_id, $this->_select_name, $extra, $content);
return sprintf('<label for="%s" style="display:none">'.
$this->view->_('Profil').
'</label><select id="%s" name="%s"%s>%s</select>',
$this->_select_id,
$this->_select_id,
$this->_select_name,
$extra,
$content);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment