move text out of input, into a separate span
darcs-hash:20080626182231-34904-e8d139c2a8b5cd07fa0179b0bcf5cd41f1a1217b.gz
This commit is contained in:
parent
c20bcca0c5
commit
1152a0f680
|
@ -329,7 +329,11 @@ function common_checkbox($id, $label, $instructions=NULL, $value='true')
|
|||
if ($value) {
|
||||
$attrs['value'] = htmlspecialchars($value);
|
||||
}
|
||||
common_element('input', $attrs, $label);
|
||||
common_element('input', $attrs);
|
||||
# XXX: use a <label>
|
||||
common_text(' ');
|
||||
common_element('span', 'checkbox_label', $label);
|
||||
common_text(' ');
|
||||
if ($instructions) {
|
||||
common_element('span', 'input_instructions', $instructions);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user