| 1 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/*
|
|
|
4 |
* This file is part of the symfony package.
|
|
|
5 |
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
|
|
|
6 |
*
|
|
|
7 |
* For the full copyright and license information, please view the LICENSE
|
|
|
8 |
* file that was distributed with this source code.
|
|
|
9 |
*/
|
|
|
10 |
|
|
|
11 |
/**
|
|
|
12 |
*
|
|
|
13 |
*
|
|
|
14 |
* @package symfony
|
|
|
15 |
* @subpackage widget
|
|
|
16 |
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
|
|
17 |
* @version SVN: $Id: sfWidgetFormSchemaFormatterTable.class.php 5995 2007-11-13 15:50:03Z fabien $
|
|
|
18 |
*/
|
|
|
19 |
class sfWidgetFormSchemaFormatterTable extends sfWidgetFormSchemaFormatter
|
|
|
20 |
{
|
|
|
21 |
protected
|
|
|
22 |
$rowFormat = "<tr>\n <th>%label%</th>\n <td>%error%%field%%help%%hidden_fields%</td>\n</tr>\n",
|
|
|
23 |
$errorRowFormat = "<tr><td colspan=\"2\">\n%errors%</td></tr>\n",
|
|
|
24 |
$helpFormat = '<br />%help%',
|
|
|
25 |
$decoratorFormat = "<table>\n %content%</table>";
|
|
|
26 |
}
|