summaryrefslogtreecommitdiff
path: root/actions/login.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-20 13:47:59 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-20 13:47:59 -0400
commit6f6aed821387075de8c22da55c5620c04cda0dc1 (patch)
tree8716a289525c274c03c7c1a2910fbdf465f343aa /actions/login.php
parent8e81943c2c6588be7e4c695172e757243b7a0d74 (diff)
better forms for new theme
darcs-hash:20080520174759-84dde-7206aeef3246b2304d463b121a6b17c7f3f2f6d5.gz
Diffstat (limited to 'actions/login.php')
-rw-r--r--actions/login.php16
1 files changed, 2 insertions, 14 deletions
diff --git a/actions/login.php b/actions/login.php
index c9d887300..89d06ee4d 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -61,24 +61,12 @@ class LoginAction extends Action {
common_element_start('form', array('method' => 'POST',
'id' => 'login',
'action' => common_local_url('login')));
- common_element('label', array('for' => 'nickname'),
- _t('Name'));
- common_element('input', array('name' => 'nickname',
- 'type' => 'text',
- 'id' => 'nickname'));
- common_element('label', array('for' => 'password'),
- _t('Password'));
- common_element('input', array('name' => 'password',
- 'type' => 'password',
- 'id' => 'password'));
+ common_input('nickname', _t('Nickname'));
+ common_password('password', _t('Password'));
common_element('input', array('name' => 'submit',
'type' => 'submit',
'id' => 'submit',
'value' => _t('Login')));
- common_element('input', array('name' => 'cancel',
- 'type' => 'button',
- 'id' => 'cancel',
- 'value' => _t('Cancel')));
common_element_end('form');
common_show_footer();
}