summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-20 13:59:06 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-20 13:59:06 -0400
commitc3b0e7bf50f9acd998c9f5ae23867479f5e15696 (patch)
tree284259ae5ba2fccf2b9b6bf9280bcd552240d34b
parente80eef2f04655f14e658a223837aa94782541195 (diff)
add a label for submit button
darcs-hash:20080520175906-84dde-3b4aec544d517b21344fa802ca00026c8362b573.gz
-rw-r--r--lib/util.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index fb89d1ca2..07332a07f 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -218,10 +218,12 @@ function common_password($id, $label) {
function common_submit($id, $label) {
common_element_start('p');
+ common_element('label', NULL, ' ');
common_element('input', array('type' => 'submit',
'id' => $id,
'name' => $id,
- 'value' => $label));
+ 'value' => $label,
+ 'class' => 'button'));
common_element_end('p');
}