better form handling

darcs-hash:20080610211614-84dde-34fe91876d37f1a5a6a1368f199378949c56c1b8.gz
This commit is contained in:
Evan Prodromou 2008-06-10 17:16:14 -04:00
parent ef1918a14d
commit 276b5d7cb0

View File

@ -587,8 +587,10 @@ function common_notice_form() {
common_element('label', array('for' => 'status_update',
'id' => 'status_label'),
_t('What\'s up, ').$user->nickname.'?');
common_element('textarea', array('id' => 'status_textarea'));
common_element('textarea', array('id' => 'status_textarea',
'name' => 'status_textarea'));
common_element('input', array('id' => 'status_submit',
'name' => 'status_submit',
'type' => 'submit',
'value' => _t('Send')));
common_element_end('p');