Skip to content

Commit 5861c25

Browse files
authored
Update FormHelper.php
Fixes RuntimeException: Cannot find template named 'confirmJs' on CakePHP 3.7
1 parent 18a12d6 commit 5861c25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/View/Helper/FormHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ class FormHelper extends \Cake\View\Helper\FormHelper {
7373
'checkboxWrapper' => '<div class="checkbox">{{label}}</div>',
7474
'checkboxContainer' => '<div class="checkbox {{required}}">{{content}}</div>',
7575
'checkboxContainerHorizontal' => '<div class="form-group"><div class="{{inputColumnOffsetClass}} {{inputColumnClass}}"><div class="checkbox {{required}}">{{content}}</div></div></div>',
76+
'confirmJs' => '{{confirm}}',
7677
'dateWidget' => '<div class="row">{{year}}{{month}}{{day}}{{hour}}{{minute}}{{second}}{{meridian}}</div>',
7778
'error' => '<span class="help-block error-message">{{content}}</span>',
7879
'errorHorizontal' => '<span class="help-block error-message {{errorColumnClass}}">{{content}}</span>',

0 commit comments

Comments
 (0)