30 |
31 | label($form, $label) ?>
32 | widget($form) ?>
33 | errors($form) ?>
34 |
35 |
--------------------------------------------------------------------------------
/Views/FormTheme/Custom/_campaignevent_timing_expression_row.html.php:
--------------------------------------------------------------------------------
1 | tag above it.
13 | *
14 | * The folder of theme files is registered in the ThirdSetMauticTimingBundle
15 | * class.
16 | *
17 | * You can see what other theme files are searched for by editing
18 | * Symfony\Bundle\FrameworkBundle\Templating\Loader\FileSystemLoader->load()
19 | * Add the following line at the top of the function:
20 | * echo $template->getPath();
21 | * Then load the form in a browser. Note that you may need to find the output
22 | * by using the browser's Developer Tools.
23 | */
24 |
25 | $hasErrors = count($form->vars['errors']);
26 | $feedbackClass = (!empty($hasErrors)) ? ' has-error' : '';
27 | ?>
28 |