Updated Branches:
  refs/heads/master 360439e09 -> 6ef638659

Remove class="control-label" (not used in Bootstrap 3)


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/e07a3a47
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/e07a3a47
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/e07a3a47

Branch: refs/heads/master
Commit: e07a3a47fb89f34bd1004992373998a0787c25b3
Parents: 360439e
Author: Howard M. Lewis Ship <[email protected]>
Authored: Fri Aug 23 15:02:19 2013 -0700
Committer: Howard M. Lewis Ship <[email protected]>
Committed: Fri Aug 23 15:02:19 2013 -0700

----------------------------------------------------------------------
 .../org/apache/tapestry5/corelib/components/Label.java   | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/e07a3a47/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Label.java
----------------------------------------------------------------------
diff --git 
a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Label.java
 
b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Label.java
index f88b7e1..d479d05 100644
--- 
a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Label.java
+++ 
b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Label.java
@@ -60,20 +60,11 @@ public class Label
 
     private Element labelElement;
 
-    /**
-     * CSS class name(s) for the Label.
-     *
-     * @since 5.4
-     */
-    @Parameter(name = "class", defaultPrefix = BindingConstants.LITERAL, value 
= "control-label")
-    private String className;
-
-
     boolean beginRender(MarkupWriter writer)
     {
         decorator.beforeLabel(field);
 
-        labelElement = writer.element("label", "class", className);
+        labelElement = writer.element("label");
 
         resources.renderInformalParameters(writer);
 

Reply via email to