FormExtensibleSet: style sorted sets differently

This commit is contained in:
Thomas Gelf 2016-03-22 02:00:22 +01:00
parent 14001a6631
commit 4ce7bf3663
1 changed files with 3 additions and 1 deletions

View File

@ -144,7 +144,9 @@ class Zend_View_Helper_FormExtensibleSet extends Zend_View_Helper_FormElement
. '</li>';
}
return '<ul class="extensible-set">' . "\n "
return '<ul class="extensible-set'
. ($sorted ? ' sortable' : '')
. '">' . "\n "
. implode("\n ", $elements)
. "</ul>\n";
}