Permalink
Browse files

depage-forms: added class for skin in lists

  • Loading branch information...
1 parent 23217ec commit 0edd03f2e41b15a6ec39771930718a1aad998fc2 @jonasjonas jonasjonas committed Apr 30, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 www/framework/htmlform/abstracts/input.php
@@ -283,6 +283,9 @@ protected function htmlClasses() {
if (($this->value !== null) && (!$this->validate())) {
$classes .= ' error';
}
+ if (isset($this->skin)) {
+ $classes .= ' skin-' . $this->htmlEscape($this->skin);
+ }
return $classes;
}

0 comments on commit 0edd03f

Please sign in to comment.