1 <?php
if ($form->getTitle()!=
''): ?><h1
class=
"rmc_titles"><?php echo $form->getTitle(); ?></h1><?php
endif; ?>
3 <form name=
"<?php echo $form->getName() ?>" id=
"<?php echo $form->getName(); ?>" method=
"<?php echo $form->method(); ?>" action=
"<?php echo $form->getAction(); ?>"<?php
if($form->getExtra()!=
''): echo
" ".$form->getExtra();
endif;?>>
5 <div
class=
"form_container">
6 <table
class=
"table_form" cellspacing=
"0">
14 if ($data[
'class']==
'RMFormHidden'):
16 elseif($data[
'class']==
'RMFormSubTitle'):
19 <td colspan=
"2"><?php echo
$field->render(); ?>
21 <?php
if(
$field->getDescription()!=
''): ?><tr
class=
"cell_fields"><td colspan=
"2"><span
class=
"descriptions"><?php echo
$field->getDescription(); ?></span></td></tr><?php
endif; ?>
27 <tr
id=
"row_<?php echo $field->getName(); ?>" class=
"cell_fields">
28 <td width=
"30%" class=
"form_captions">
29 <?php
if(
$field->getCaption()!=
''): ?><label
for=
"<?php echo $field->getName(); ?>"><?php echo
$field->getCaption(); ?></label><?php
else: ?> <?php
endif; ?>
30 <?php
if(
$field->getDescription()!=
''): ?><span
class=
"descriptions"><?php echo
$field->getDescription(); ?></span><?php
endif; ?>
33 <?php echo
$field->render(); ?>
36 case 'RMFormButtonGroup':
41 <label
for=
"<?php echo $field->getName(); ?>" class=
"error hidden"><?php
_e(
'This is a required field. Please fill it!',
'rmcommon'); ?></label></td>