- common_element('label', array('for' => 'username'),
- _t('Name'));
- common_element('input', array('name' => 'username',
- 'type' => 'text',
- 'id' => 'username'));
- common_element('label', array('for' => 'password'),
- _t('Password'));
- common_element('input', array('name' => 'password',
- 'type' => 'password',
- 'id' => 'password'));
- common_element('input', array('name' => 'submit',
- 'type' => 'submit',
- 'id' => 'submit'),
- _t('Login'));
- common_element('input', array('name' => 'cancel',
- 'type' => 'button',
- 'id' => 'cancel'),
- _t('Cancel'));
+ common_input('nickname', _t('Nickname'));
+ common_password('password', _t('Password'));
+ common_submit('submit', _t('Login'));