Using 'form_notice' class instead of 'form' to group both forms

This commit is contained in:
Sarven Capadisli 2009-10-31 17:16:37 +01:00
parent f9bb95174b
commit 48f33f781a
2 changed files with 24 additions and 2 deletions

View File

@ -80,10 +80,21 @@ class MessageForm extends Form
/** /**
* ID of the form * ID of the form
* *
* @return int ID of the form * @return string ID of the form
*/ */
function id() function id()
{
return 'form_notice-direct';
}
/**
* Class of the form
*
* @return string class of the form
*/
function formClass()
{ {
return 'form_notice'; return 'form_notice';
} }

View File

@ -105,7 +105,7 @@ class NoticeForm extends Form
/** /**
* ID of the form * ID of the form
* *
* @return int ID of the form * @return string ID of the form
*/ */
function id() function id()
@ -113,6 +113,17 @@ class NoticeForm extends Form
return 'form_notice'; return 'form_notice';
} }
/**
* Class of the form
*
* @return string class of the form
*/
function formClass()
{
return 'form_notice';
}
/** /**
* Action of the form * Action of the form
* *