@@ 26-30 (lines=5) @@ | ||
23 | $helpBlock = $this->dom->createElement('span'); |
|
24 | $helpBlock->setAttribute('class', 'help-block'); |
|
25 | ||
26 | if ($field->hasCustomErrorMessage()) { |
|
27 | $helpBlock = $this->addCustomErrorMessage($helpBlock, $field); |
|
28 | } else { |
|
29 | $helpBlock = $this->addErrorMessages($helpBlock, $field); |
|
30 | } |
|
31 | return $helpBlock; |
|
32 | } |
|
33 |
@@ 26-30 (lines=5) @@ | ||
23 | $helpBlock = $this->dom->createElement('span'); |
|
24 | $helpBlock->setAttribute('class', 'help-block'); |
|
25 | ||
26 | if ($field->hasCustomErrorMessage()) { |
|
27 | $helpBlock = $this->addCustomErrorMessage($helpBlock, $field); |
|
28 | } else { |
|
29 | $helpBlock = $this->addErrorMessages($helpBlock, $field); |
|
30 | } |
|
31 | ||
32 | $div = $this->dom->createElement('div'); |
|
33 | $div->setAttribute('class', 'col-sm-offset-2 col-sm-10'); |