File tree Expand file tree Collapse file tree 9 files changed +18
-8
lines changed
Expand file tree Collapse file tree 9 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 44use Kris \LaravelFormBuilder \Form ;
55
66
7+ if (!function_exists ('errorBlockPath ' ))
8+ {
9+
10+ function errorBlockPath ()
11+ {
12+ return __DIR__ .'/views/errors.php ' ;
13+ }
14+
15+ }
16+
717if (!function_exists ('helpBlockPath ' ))
818{
919
Original file line number Diff line number Diff line change 1414 <?php include helpBlockPath (); ?>
1515<?php endif ; ?>
1616
17- <?php include ' errors.php ' ?>
17+ <?php include errorBlockPath (); ?>
1818
1919<?php if ($ showLabel && $ showField ): ?>
2020 <?php if ($ options ['wrapper ' ] !== false ): ?>
Original file line number Diff line number Diff line change 1919
2020<?php endif ; ?>
2121
22- <?php include ' errors.php ' ?>
22+ <?php include errorBlockPath (); ?>
2323
2424<?php if ($ showLabel && $ showField ): ?>
2525 <?php if ($ options ['wrapper ' ] !== false ): ?>
Original file line number Diff line number Diff line change 1818<?php endif ; ?>
1919
2020
21- <?php include ' errors.php ' ?>
21+ <?php include errorBlockPath (); ?>
2222
2323<?php if ($ showLabel && $ showField ): ?>
2424 <?php if ($ options ['wrapper ' ] !== false ): ?>
Original file line number Diff line number Diff line change 1717
1818<?php endif ; ?>
1919
20- <?php include ' errors.php ' ?>
20+ <?php include errorBlockPath (); ?>
2121
2222<?php if ($ showLabel && $ showField ): ?>
2323 <?php if ($ options ['wrapper ' ] !== false ): ?>
Original file line number Diff line number Diff line change 1414 <?php include helpBlockPath (); ?>
1515<?php endif ; ?>
1616
17- <?php include ' errors.php ' ?>
17+ <?php include errorBlockPath (); ?>
1818
1919<?php if ($ showLabel && $ showField ): ?>
2020 <?php if ($ options ['wrapper ' ] !== false ): ?>
Original file line number Diff line number Diff line change 1414 <?php include helpBlockPath (); ?>
1515<?php endif ; ?>
1616
17- <?php include ' errors.php ' ?>
17+ <?php include errorBlockPath (); ?>
1818
1919<?php if ($ showLabel && $ showField ): ?>
2020 <?php if ($ options ['wrapper ' ] !== false ): ?>
Original file line number Diff line number Diff line change 1414 <?php include helpBlockPath (); ?>
1515<?php endif ; ?>
1616
17- <?php include ' errors.php ' ?>
17+ <?php include errorBlockPath (); ?>
1818
1919<?php if ($ showLabel && $ showField ): ?>
2020 <?php if ($ options ['wrapper ' ] !== false ): ?>
Original file line number Diff line number Diff line change 1414 <?php include helpBlockPath (); ?>
1515<?php endif ; ?>
1616
17- <?php include ' errors.php ' ?>
17+ <?php include errorBlockPath (); ?>
1818
1919<?php if ($ showLabel && $ showField ): ?>
2020 <?php if ($ options ['wrapper ' ] !== false ): ?>
You can’t perform that action at this time.
0 commit comments