Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2045

Set default CSS class for Label component to be "control-label", but allow overrides

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
      None

      Description

      The control-label attribute is sometimes not applicable to labels, hence causing my page to not properly render.

      e.g. inline checkboxes

      <label t:type="label" for="credentialsExpired" class="checkbox inline">
      <input class="checkbox" t:type="checkbox" value="user.credentialsExpired"
      t:id="credentialsExpired"/>${message:user.credentialsExpired}
      </label>

      The resulting HTML adds an extra form-control to the label class which I don't need in this case.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              sdeby Serge Eby
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: