Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98065d3

Browse filesBrowse files
Mathieu Piotmpiot
Mathieu Piot
authored andcommitted
fabpot.io fix
1 parent edb95f8 commit 98065d3
Copy full SHA for 98065d3

File tree

3 files changed

+22
-11
lines changed
Filter options

3 files changed

+22
-11
lines changed
+14-3Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1-
<?php if (!empty($help)): ?>
2-
<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>
3-
<?php endif ?>
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
if (!empty($help)): ?>
13+
<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>
14+
<?php endif; ?>
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div>
2-
<?php echo $view['form']->label($form) ?>
3-
<?php echo $view['form']->errors($form) ?>
4-
<?php echo $view['form']->widget($form, array('helpBlockDisplayed' => true)) ?>
5-
<?php echo $view['form']->help($form) ?>
2+
<?php echo $view['form']->label($form); ?>
3+
<?php echo $view['form']->errors($form); ?>
4+
<?php echo $view['form']->widget($form, array('helpBlockDisplayed' => true)); ?>
5+
<?php echo $view['form']->help($form); ?>
66
</div>
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
id="<?php echo $view->escape($id) ?>" name="<?php echo $view->escape($full_name) ?>"<?php if ($disabled): ?> disabled="disabled"<?php endif ?>
2-
<?php if ($required): ?> required="required"<?php endif ?>
3-
<?php if (isset($helpBlockDisplayed) && true === $helpBlockDisplayed && !empty($help)): ?> aria-describedby="<?php echo $view->escape($id) ?>_help"<?php endif ?>
4-
<?php echo $attr ? ' '.$view['form']->block($form, 'attributes') : '' ?>
1+
id="<?php echo $view->escape($id); ?>" name="<?php echo $view->escape($full_name); ?>"<?php if ($disabled): ?> disabled="disabled"<?php endif; ?>
2+
<?php if ($required): ?> required="required"<?php endif; ?>
3+
<?php if (isset($helpBlockDisplayed) && true === $helpBlockDisplayed && !empty($help)): ?> aria-describedby="<?php echo $view->escape($id); ?>_help"<?php endif; ?>
4+
<?php echo $attr ? ' '.$view['form']->block($form, 'attributes') : ''; ?>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.