fix: [elements:metaTemplateForm] Restored error container in the form
parent
14b46c0e9d
commit
57835b8e52
|
@ -4,7 +4,7 @@ use Cake\Utility\Inflector;
|
||||||
|
|
||||||
$default_template = [
|
$default_template = [
|
||||||
'inputContainer' => '<div class="row mb-3 metafield-container">{{content}}</div>',
|
'inputContainer' => '<div class="row mb-3 metafield-container">{{content}}</div>',
|
||||||
'inputContainerError' => '<div class="row mb-3 metafield-container has-error">{{content}}</div>',
|
'inputContainerError' => '<div class="row mb-3 metafield-container has-error">{{content}}{{error}}</div>',
|
||||||
'formGroup' => '<label class="col-sm-2 col-form-label form-label" {{attrs}}>{{label}}</label><div class="col-sm-10">{{input}}{{error}}</div>',
|
'formGroup' => '<label class="col-sm-2 col-form-label form-label" {{attrs}}>{{label}}</label><div class="col-sm-10">{{input}}{{error}}</div>',
|
||||||
'error' => '<div class="error-message invalid-feedback d-block">{{content}}</div>',
|
'error' => '<div class="error-message invalid-feedback d-block">{{content}}</div>',
|
||||||
'errorList' => '<ul>{{content}}</ul>',
|
'errorList' => '<ul>{{content}}</ul>',
|
||||||
|
|
Loading…
Reference in New Issue