fabpot.io fix
This commit is contained in:
parent
edb95f8e44
commit
98065d38b5
@ -1,3 +1,14 @@
|
||||
<?php if (!empty($help)): ?>
|
||||
<p id="<?php echo $view->escape($id) ?>_help" class="help-text"><?php echo $view->escape(false !== $translation_domain ? $view['translator']->trans($help, array(), $translation_domain) : $help) ?></p>
|
||||
<?php endif ?>
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
if (!empty($help)): ?>
|
||||
<p id="<?php echo $view->escape($id); ?>_help" class="help-text"><?php echo $view->escape(false !== $translation_domain ? $view['translator']->trans($help, array(), $translation_domain) : $help); ?></p>
|
||||
<?php endif; ?>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div>
|
||||
<?php echo $view['form']->label($form) ?>
|
||||
<?php echo $view['form']->errors($form) ?>
|
||||
<?php echo $view['form']->widget($form, array('helpBlockDisplayed' => true)) ?>
|
||||
<?php echo $view['form']->help($form) ?>
|
||||
<?php echo $view['form']->label($form); ?>
|
||||
<?php echo $view['form']->errors($form); ?>
|
||||
<?php echo $view['form']->widget($form, array('helpBlockDisplayed' => true)); ?>
|
||||
<?php echo $view['form']->help($form); ?>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
id="<?php echo $view->escape($id) ?>" name="<?php echo $view->escape($full_name) ?>"<?php if ($disabled): ?> disabled="disabled"<?php endif ?>
|
||||
<?php if ($required): ?> required="required"<?php endif ?>
|
||||
<?php if (isset($helpBlockDisplayed) && true === $helpBlockDisplayed && !empty($help)): ?> aria-describedby="<?php echo $view->escape($id) ?>_help"<?php endif ?>
|
||||
<?php echo $attr ? ' '.$view['form']->block($form, 'attributes') : '' ?>
|
||||
id="<?php echo $view->escape($id); ?>" name="<?php echo $view->escape($full_name); ?>"<?php if ($disabled): ?> disabled="disabled"<?php endif; ?>
|
||||
<?php if ($required): ?> required="required"<?php endif; ?>
|
||||
<?php if (isset($helpBlockDisplayed) && true === $helpBlockDisplayed && !empty($help)): ?> aria-describedby="<?php echo $view->escape($id); ?>_help"<?php endif; ?>
|
||||
<?php echo $attr ? ' '.$view['form']->block($form, 'attributes') : ''; ?>
|
Reference in New Issue
Block a user