'action' => common_local_url('disfavor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
- common_element('input', array('type' => 'button',
- 'class' => 'disfavor'),
- '♥');
+ common_submit('disfavor-submit-' . $notice->id, '♥');
common_element_end('form');
}
'action' => common_local_url('disfavor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
- common_element('input', array('type' => 'button',
- 'class' => 'disfavor'),
- '♡');
+ common_submit('favor-submit-' . $notice->id, '♡');
common_element_end('form');
}