Skip to content

Commit

Permalink
Merge pull request #160 from FriendsOfCake/cleanup
Browse files Browse the repository at this point in the history
Remove unneeded template.
  • Loading branch information
ADmad authored Sep 23, 2016
2 parents d4d5a8d + ee53d2d commit 8da53d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/View/Helper/FormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class FormHelper extends Helper
'help' => '<div class="help-block">{{content}}</div>',
'inputContainer' => '<div class="form-group {{type}}{{required}}">{{content}}{{help}}</div>',
'inputContainerError' => '<div class="form-group {{type}}{{required}} has-error">{{content}}{{error}}{{help}}</div>',
'multipleCheckboxWrapper' => '<div class="checkbox">{{label}}</div>',
'radioInlineFormGroup' => '{{label}}<div class="radio-inline-wrapper">{{input}}</div>',
'radioNestingLabel' => '<div class="radio">{{hidden}}<label{{attrs}}>{{input}}{{text}}</label></div>',
'staticControl' => '<p class="form-control-static">{{content}}</p>',
Expand Down Expand Up @@ -220,7 +219,6 @@ public function input($fieldName, array $options = [])
break;
case 'select':
if (isset($options['multiple']) && $options['multiple'] === 'checkbox') {
$options['templates']['checkboxWrapper'] = $this->templater()->get('multipleCheckboxWrapper');
$options['type'] = 'multicheckbox';
}
break;
Expand Down

0 comments on commit 8da53d6

Please sign in to comment.