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

Multiple Choice answers do not appear on same line as radio button

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Please test this scenario in Boost and Clean themes.

      1. Login as an Admin.
      2. Create a course.
      3. Add Lesson activity to the course, click "Save and return to course".
      4. From the course page, click on the Lesson activity.
      5. Add a question page.
      6. Choose Multichoice question type, click "Add a question page".
      7. Enter question contents and click "Save page".
      8. On the Lesson Page, click on the "Preview" lesson tab.
        • Make sure the radio button and the answer text are displayed on the same line.
      Show
      Please test this scenario in Boost and Clean themes. Login as an Admin. Create a course. Add Lesson activity to the course, click "Save and return to course". From the course page, click on the Lesson activity. Add a question page. Choose Multichoice question type, click "Add a question page". Enter question contents and click "Save page". On the Lesson Page, click on the "Preview" lesson tab. Make sure the radio button and the answer text are displayed on the same line.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-56197-master

      Description

      When creating multiple choice questions in Lesson, the answer fields use the text editor. Because of this, the answer text entered is wrapped in paragraph tags, and therefore appear on a different line from the actual radio buttons for those options.

      To reproduce:

      • Create a Lesson
      • Add a question page
      • Choose multiple choice
      • Enter question prompts and answer prompts
      • Save the page
      • Preview the question page

      The answer text entered should appear on the same line as the radio buttons one would use to select the answers. But because of the paragraph tags, the answer text appears on the next line.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                11 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Jan/18