Commit 59f2ef58 authored by Asheesh Laroia's avatar Asheesh Laroia
Browse files

Move the form labels into the <dt>

parent 84a78437
...@@ -203,14 +203,15 @@ allow_unsigned_uploads = 0 ...@@ -203,14 +203,15 @@ allow_unsigned_uploads = 0
<td>${ oneshot | n}<% oneshot = "&nbsp;" %></td> <td>${ oneshot | n}<% oneshot = "&nbsp;" %></td>
<td> <td>
<dl> <dl>
<dt>${ requirement.label }</dt> <dt>
<dd>"<em>${ requirement.long_description | n}</em>"</dd> % for weight,label in [(-1, _("-")), \
<dd> (0, _("0")), \
% for weight,label in [(-1, _("undesirable")), \ (1, _("+")) ]:
(0, _("undecided")), \
(1, _("preferred")) ]:
${ h.html.tags.radio(requirement.tag, value=weight, label=label, checked=(c.metrics.get_tag_weight(requirement.tag) == weight)) } ${ h.html.tags.radio(requirement.tag, value=weight, label=label, checked=(c.metrics.get_tag_weight(requirement.tag) == weight)) }
% endfor % endfor
<span style="padding-left: 8px;">${ requirement.label }</span></dt>
<dd>"<em>${ requirement.long_description | n}</em>"</dd>
<dd>
</dd> </dd>
</dl> </dl>
</td> </td>
......
Supports Markdown
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