Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use the current markup in DualSelect's template

git-svn-id: c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit c44245453868827c31964112c0ff9ac01d430e24 1 parent 09c1378
Alexey Borzov sad-spirit authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 docs/examples/dualselect.php
5 docs/examples/dualselect.php
@@ -174,7 +174,10 @@ public function setRenderer(HTML_QuickForm2_Renderer $renderer)
if (empty($this->renderer->templatesForClass['html_quickform2_element_dualselect'])) {
$this->renderer->templatesForClass['html_quickform2_element_dualselect'] = <<<TPL
<div class="row">
- <label for="{id}-from" class="element"><qf:required><span class="required">* </span></qf:required>{label}</label>
+ <p class="label">
+ <qf:required><span class="required">* </span></qf:required>
+ <qf:label><label for="{id}-from" class="element">{label}</label></qf:label>
+ </p>
<div class="element<qf:error> error</qf:error>">
<qf:error><span class="error">{error}<br /></span></qf:error>
<table class="dualselect" id="{id}">
Please sign in to comment.
Something went wrong with that request. Please try again.