Commit 932c95a1 authored by Xiaowu Zhang's avatar Xiaowu Zhang

Change title&GadgetField to validate test

1. Change title because of test name convention.
2. GadgetField make div instead of section
parent 4184ac96
......@@ -120,7 +120,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Bar_viewGadgetField</string> </value>
<value> <string>Gadget Field</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -178,7 +178,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>my_description</string> </value>
<value> <string>Description</string> </value>
</item>
</dictionary>
</value>
......
......@@ -178,7 +178,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>my_file</string> </value>
<value> <string>File</string> </value>
</item>
</dictionary>
</value>
......
......@@ -178,7 +178,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>my_format</string> </value>
<value> <string>Format</string> </value>
</item>
</dictionary>
</value>
......
......@@ -237,7 +237,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>id</string> </value>
<value> <string>Id</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
......
......@@ -178,7 +178,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>my_language</string> </value>
<value> <string>Language</string> </value>
</item>
</dictionary>
</value>
......
......@@ -178,7 +178,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>my_right</string> </value>
<value> <string>Right</string> </value>
</item>
</dictionary>
</value>
......
......@@ -178,7 +178,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>my_subject</string> </value>
<value> <string>Subject</string> </value>
</item>
</dictionary>
</value>
......
......@@ -237,7 +237,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>title</string> </value>
<value> <string>Title</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
......
......@@ -36,7 +36,7 @@ class GadgetWidget(Widget.TextWidget):
kw['class'] = "gadget"
kw['value'] = value
kw['data-gadget-sandbox'] = field.get_value('js_sandbox')
return Widget.render_element("section",
return Widget.render_element("div",
**kw)
def get_javascript_list(self, field, REQUEST=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment