<@row>
<@columns>
<@box>
<@boxHeader title='Title' />
<@boxBody>
<@tform name='create_mockobject' action='jsp/admin/plugins/ManageMockObjects.jsp'>
<@messages errors=errors />
<@formGroup labelKey='Name' helpKey='Name.help' mandatory=true>
<@input type='text' name='name' value='' />
</@formGroup>
<@formGroup labelKey='Description' helpKey='Description.help' mandatory=true>
<@input type='textarea' name='description' value='' />
</@formGroup>
<@formGroup labelKey='Enable' helpKey='Enable.help'>
<@checkBox labelKey='Enable' name='enable' id='enable' value='1' />
</@formGroup>
<@formGroup labelKey='Radio'>
<@radioButton labelFor='0' labelKey='Radio1.help' name='radio' id='0' value='0' />
<@radioButton labelFor='1' labelKey='Radio2.help' name='radio' id='1' value='1' />
</@formGroup>
<@formGroup labelKey='Password' helpKey='Password.help' mandatory=true>
<@input type='password' name='password' value='' />
</@formGroup>
<@formGroup labelKey='ElapsedTime' helpKey='ElapsedTime.help' mandatory=true>
<@input type='number' name='elapsed_time' value='0' />
</@formGroup>
<@formGroup labelKey='IdForeign' helpKey='IdForeign.help' mandatory=true>
<@select name='id_foreign' items=id_foreigns_list default_value='0' />
</@formGroup>
<@formGroup labelKey='RegisteredEmail' helpKey='RegisteredEmail.help'>
<@staticText>
example@example.com
</@staticText>
</@formGroup>
<@formGroup labelKey='Email' helpKey='Email.help' mandatory=true>
<@input type='email' name='email' value='' />
</@formGroup>
<@formGroup labelKey='DateCreated' helpKey='DateCreated.help' mandatory=true>
<@inputGroup>
<@inputGroupItem type='text'>
<@icon style='calendar' />
</@inputGroupItem>
<@input type='date' name='date_created' value='' />
</@inputGroup>
</@formGroup>
<@formGroup>
<@button type='submit' name='action_createMockObject' buttonIcon='check' />
<@button type='submit' name='view_manageMockObject' buttonIcon='eye' />
</@formGroup>
</@tform>
</@boxBody>
</@box>
</@columns>
</@row>
| Parameter | Value | Default |
|---|---|---|
| id | string | none |
| formStyle | string: horizontal, inline | horizontal |
| groupStyle | string: success/error | none |
| class | string | none |
| rows | integer: 1/2 | 1 |
| labelKey | string | none |
| labelFor | string | none |
| labelId | string | none |
| labelClass | string | none |
| helpKey | string | none |
| mandatory | boolean | false |
| hideLabel | sequence | none |
| collapse | boolean | false |
| params | string | none |