From 238c8152b3fde97ac46bf00475d3884b1b657c3c Mon Sep 17 00:00:00 2001 From: Mark Hoeber Date: Sat, 13 Jun 2015 13:29:20 -0400 Subject: [PATCH] Update studio templates to remove fieldset and legend tags --- .../problem/checkboxes_response.yaml | 5 +- .../templates/problem/circuitschematic.yaml | 55 +++++++++++-------- .../templates/problem/customgrader.yaml | 8 +-- .../templates/problem/drag_and_drop.yaml | 8 +-- .../templates/problem/formularesponse.yaml | 3 +- .../templates/problem/imageresponse.yaml | 7 +-- .../templates/problem/jsinput_response.yaml | 1 - .../templates/problem/latex_problem.yaml | 34 +++--------- .../templates/problem/multiplechoice.yaml | 5 +- .../templates/problem/numericalresponse.yaml | 11 +--- .../templates/problem/optionresponse.yaml | 6 +- .../templates/problem/string_response.yaml | 5 +- 12 files changed, 53 insertions(+), 95 deletions(-) diff --git a/common/lib/xmodule/xmodule/templates/problem/checkboxes_response.yaml b/common/lib/xmodule/xmodule/templates/problem/checkboxes_response.yaml index 144ff0358b..18816b43ef 100644 --- a/common/lib/xmodule/xmodule/templates/problem/checkboxes_response.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/checkboxes_response.yaml @@ -7,7 +7,6 @@ metadata: When you add the problem, be sure to select Settings to specify a Display Name and other values that apply. You can use the following example problem as a model. - _____________________________________________________________________________ >>The following languages are in the Indo-European family:<< [x] Urdu @@ -28,8 +27,7 @@ data: |

When you add the component, be sure to select Settings to specify a Display Name and other values that apply.

You can use the following example problem as a model.

-
- The following languages are in the Indo-European family: +

The following languages are in the Indo-European family:

Urdu @@ -39,7 +37,6 @@ data: | Hungarian -

Note: Make sure you select all of the correct options—there may be more than one!

diff --git a/common/lib/xmodule/xmodule/templates/problem/circuitschematic.yaml b/common/lib/xmodule/xmodule/templates/problem/circuitschematic.yaml index edfdadce19..0f4f1d71b5 100644 --- a/common/lib/xmodule/xmodule/templates/problem/circuitschematic.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/circuitschematic.yaml @@ -13,18 +13,19 @@ data: |

For more information, see - Circuit Schematic Builder Problem in Building and Running an edX Course.

-

When you add the problem, be sure to select Settings - to specify a Display Name and other values that apply.

+ Circuit Schematic Builder Problem in Building and Running an edX Course. +

+

+ When you add the problem, be sure to select Settings + to specify a Display Name and other values that apply. +

You can use the following example problems as models.

-
- Make a voltage divider that splits the provided voltage evenly. - -
- -
+

Make a voltage divider that splits the provided voltage evenly.

+ +
+ +
dc_value = "dc analysis not found" for response in submission[0]: @@ -38,9 +39,7 @@ data: | correct = ['incorrect']
-
-
- Make a high-pass filter. +

Make a high-pass filter.

-
- -
-

Explanation

-

You can form a voltage divider that evenly divides the input voltage with two identically valued resistors, with the sampled voltage taken in between the two.

-

-

You can form a simple high-pass filter without any further constraints by simply putting a resistor in series with a capacitor. The actual values of the components do not really matter in this problem.

-

-
-
+ +
+

Explanation

+

+ You can form a voltage divider that evenly divides the input + voltage with two identically valued resistors, with the sampled + voltage taken in between the two. +

+

+

+ You can form a simple high-pass filter without any further + constraints by simply putting a resistor in series with a + capacitor. The actual values of the components do not really + matter in this problem. +

+

+
+
diff --git a/common/lib/xmodule/xmodule/templates/problem/customgrader.yaml b/common/lib/xmodule/xmodule/templates/problem/customgrader.yaml index edb62d1440..033d4ca88a 100644 --- a/common/lib/xmodule/xmodule/templates/problem/customgrader.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/customgrader.yaml @@ -45,20 +45,16 @@ data: | return test_add(10, ans) -
- Enter two integers that sum to 10. +

Enter two integers that sum to 10.


-
-
- Enter two integers that sum to 20. +

Enter two integers that sum to 20.


-

Explanation

diff --git a/common/lib/xmodule/xmodule/templates/problem/drag_and_drop.yaml b/common/lib/xmodule/xmodule/templates/problem/drag_and_drop.yaml index bfdf72a1cc..4e76665afd 100644 --- a/common/lib/xmodule/xmodule/templates/problem/drag_and_drop.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/drag_and_drop.yaml @@ -17,8 +17,7 @@ data: |

_____________________________________________________________________________

Simple Drag and Drop

-
- Drag each word in the scrollbar to the bucket that matches the number of letters in the word. +

Drag each word in the scrollbar to the bucket that matches the number of letters in the word.

@@ -32,7 +31,6 @@ data: | -
correct_answer = { '1': [[70, 150], 121], @@ -54,8 +52,7 @@ data: |

Drag and Drop with Outline

-
- Label the hydrogen atoms connected with the left carbon atom. +

Label the hydrogen atoms connected with the left carbon atom.

@@ -71,7 +68,6 @@ data: | -
correct_answer = [{ 'draggables': ['1', '2'], diff --git a/common/lib/xmodule/xmodule/templates/problem/formularesponse.yaml b/common/lib/xmodule/xmodule/templates/problem/formularesponse.yaml index 8c12edda61..c45184f013 100644 --- a/common/lib/xmodule/xmodule/templates/problem/formularesponse.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/formularesponse.yaml @@ -29,8 +29,7 @@ data: |

When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.

You can use the following example problems as models.

-

_____________________________________________________________________________

- +

Write an expression for the product of \( R_1\), \( R_2\), and the inverse of \( R_3\) .

diff --git a/common/lib/xmodule/xmodule/templates/problem/imageresponse.yaml b/common/lib/xmodule/xmodule/templates/problem/imageresponse.yaml index ab0589b165..7cb6ee484f 100644 --- a/common/lib/xmodule/xmodule/templates/problem/imageresponse.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/imageresponse.yaml @@ -16,17 +16,14 @@ data: |

When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.

You can use the following example problem as a model.

-

_____________________________________________________________________________

-
- What country is home to the Great Pyramid of Giza as well as the cities - of Cairo and Memphis? Click the country on the map below. +

What country is home to the Great Pyramid of Giza as well as the cities + of Cairo and Memphis? Click the country on the map below.

-

Explanation

diff --git a/common/lib/xmodule/xmodule/templates/problem/jsinput_response.yaml b/common/lib/xmodule/xmodule/templates/problem/jsinput_response.yaml index d0fa838090..abd9eac71c 100644 --- a/common/lib/xmodule/xmodule/templates/problem/jsinput_response.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/jsinput_response.yaml @@ -27,7 +27,6 @@ data: |

When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.

You can use the following example problem as a model.

-

_____________________________________________________________________________

-
- Enter two integers that sum to 10. +

Enter two integers that sum to 10.


-
-
- Enter two integers that sum to 20. +

Enter two integers that sum to 20.


-

Explanation

@@ -207,15 +193,13 @@ data: |

Example Image Mapped Input Problem

-
- What country is home to the Great Pyramid of Giza as well as the cities - of Cairo and Memphis? Click the country on the map below. +

What country is home to the Great Pyramid of Giza as well as the cities + of Cairo and Memphis? Click the country on the map below.

-

Explanation

diff --git a/common/lib/xmodule/xmodule/templates/problem/multiplechoice.yaml b/common/lib/xmodule/xmodule/templates/problem/multiplechoice.yaml index 2aab5d17f9..9a43879d41 100644 --- a/common/lib/xmodule/xmodule/templates/problem/multiplechoice.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/multiplechoice.yaml @@ -7,7 +7,6 @@ metadata: When you add the problem, be sure to select Settings to specify a Display Name and other values that apply. You can use the following example problem as a model. - _____________________________________________________________________________ >>Which of the following countries has the largest population?<< ( ) Brazil @@ -30,8 +29,7 @@ data: |

When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.

You can use the following example problem as a model.

-
- Which of the following countries has the largest population? +

Which of the following countries has the largest population?

Brazil @@ -40,7 +38,6 @@ data: | Russia -

Explanation

diff --git a/common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml b/common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml index fb0a3ec934..f3b109905c 100644 --- a/common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml @@ -9,7 +9,6 @@ metadata: When you add the problem, be sure to select Settings to specify a Display Name and other values that apply. You can use the following example problems as models. - _____________________________________________________________________________ >>How many miles away from Earth is the sun? Use scientific notation to answer.<< @@ -42,21 +41,15 @@ data: | to specify a Display Name and other values that apply.

You can use the following example problems as models.

-

_____________________________________________________________________________

- -
- How many miles away from Earth is the sun? Use scientific notation to answer. +

How many miles away from Earth is the sun? Use scientific notation to answer.

-
-
- The square of what number is -100? +

The square of what number is -100?

-

Explanation

diff --git a/common/lib/xmodule/xmodule/templates/problem/optionresponse.yaml b/common/lib/xmodule/xmodule/templates/problem/optionresponse.yaml index 25de5fa3fc..50ec67b528 100644 --- a/common/lib/xmodule/xmodule/templates/problem/optionresponse.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/optionresponse.yaml @@ -8,8 +8,6 @@ metadata: You can use the following example problem as a model. - _____________________________________________________________________________ - >>Which of the following countries celebrates its independence on August 15?<< [[(India), Spain, China, Bermuda]] @@ -23,13 +21,11 @@ data: |

When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.

You can use the following example problem as a model.

-
- Which of the following countries celebrates its independence on August 15? +

Which of the following countries celebrates its independence on August 15?


-

Explanation

diff --git a/common/lib/xmodule/xmodule/templates/problem/string_response.yaml b/common/lib/xmodule/xmodule/templates/problem/string_response.yaml index 701934f40e..223cf22d5b 100644 --- a/common/lib/xmodule/xmodule/templates/problem/string_response.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/string_response.yaml @@ -7,7 +7,6 @@ metadata: When you add the problem, be sure to select Settings to specify a Display Name and other values that apply. You can use the following example problem as a model. - _____________________________________________________________________________ >>What was the first post-secondary school in China to allow both male and female students?<< @@ -29,14 +28,12 @@ data: |

When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.

You can use the following example problem as a model.

-
- What was the first post-secondary school in China to allow both male and female students? +

What was the first post-secondary school in China to allow both male and female students?

National Central University Nanjing University -

Explanation