Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49481

Fix alignment of fradio and fcheckbox content on mforms (bootstrapbase)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.9
    • 2.7.7, 2.8.5, 2.9
    • Themes
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_29_STABLE
    • Hide

      1) Download the example mform attached and place it in your moodle root folder.
      2) Go to the form in your browser.
      3) Visually inspect the formatting of the elements in different browsers and check that titles and form fields are vertically aligned

      Show
      1) Download the example mform attached and place it in your moodle root folder. 2) Go to the form in your browser. 3) Visually inspect the formatting of the elements in different browsers and check that titles and form fields are vertically aligned

      When viewing an mform (like when adding a module), if the form has a checkbox or radio element (or group of them), the alignment of the radio/checkboxes and their labels is mismatched with the item title on the left.

      See attached screenshots for an example of what I mean (using workshop as an example - I've also copied the checkbox element used as an example to display a radio one underneath to highlight the differences there).

      This affects bootstrapbase and its children.

        1. mdl49481.png
          35 kB
          Adam Olley
        2. mdl49481_test_form.php
          2 kB
          Adrian Greeve
        3. mdl-49481-fail1.png
          4 kB
          Damyon Wiese
        4. mdl-49481-fail2.png
          7 kB
          Damyon Wiese

            aolley Adam Olley
            aolley Adam Olley
            Adrian Greeve Adrian Greeve
            David Monllaó David Monllaó
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.