Hi, Override de.agilecoders.wicket.core.markup.html.bootstrap.form.FormGroup#newLabel : Label label = new Label(id, model); label.add(AttributeModifier.append("col-lg-2")); return label;
or: formGroup.get("label")..add(AttributeModifier.append("col-lg-2")); On Sun, Oct 13, 2013 at 2:25 PM, David Beer <david.m.b...@gmail.com> wrote: > Hi Guys > > I am using the wicket-bootstrap3 FormGroup and provide a Model for the in > built Label that gets added. My Problem is how to apply the relevant > formatting and spacing on the item. So according to the bootstrap3 examples > my HTML should look like the following resulting markup. > > <div class="form-group"> > <label for="inputEmail1" class="col-lg-2 control-label">Email</label> > <div class="col-lg-10"> > <input type="email" class="form-control" id="inputEmail1" > placeholder="Email"> > </div> > </div> > > Where label should have the class col-lg-2 or similar col definition hw > could I add this. > > Thanks > > David >