Completed
Push — develop ( dd4446...71c4a2 )
by
unknown
06:46
created
module/Core/src/Core/Form/View/Helper/SearchForm.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
         $content = $this->renderElements($form, $colMap, $buttonsSpan);
68 68
 
69 69
         return $this->openTag($form)
70
-             . '<div class="row" style="padding: 0 15px;">'
71
-             . $content . '</div>' . $this->closeTag();
70
+                . '<div class="row" style="padding: 0 15px;">'
71
+                . $content . '</div>' . $this->closeTag();
72 72
 
73 73
     }
74 74
 
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
             $attrs = $helper->createAttributesString($button->getAttributes());
83 83
 
84 84
             $content.= '<button ' . $attrs . '>'
85
-                       . $this->getTranslator()->translate($button->getLabel(), $this->getTranslatorTextDomain())
86
-                       . '</button>';
85
+                        . $this->getTranslator()->translate($button->getLabel(), $this->getTranslatorTextDomain())
86
+                        . '</button>';
87 87
         }
88 88
 
89 89
         return $content;
@@ -120,15 +120,15 @@  discard block
 block discarded – undo
120 120
 
121 121
             if ($element->getName() == $form->getButtonElement()) {
122 122
                 $content.='<div class="input-group col-md-' . $cols . '">'
123
-                              . $formElement($element)
124
-                              . '<div class="input-group-btn search-form-buttons" style="width: 1px;">'
125
-                              . $this->renderButtons($form->getButtons()) . '</div>'
126
-                              . '</div>';
123
+                                . $formElement($element)
124
+                                . '<div class="input-group-btn search-form-buttons" style="width: 1px;">'
125
+                                . $this->renderButtons($form->getButtons()) . '</div>'
126
+                                . '</div>';
127 127
                 $buttonsRendered = true;
128 128
             } else {
129 129
                 $content .= '<div class="input-group col-md-' . $cols . '">'
130
-                          . $formElement($element)
131
-                          . '</div>';
130
+                            . $formElement($element)
131
+                            . '</div>';
132 132
             }
133 133
 
134 134
             $i += 1;
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                 $buttonsSpan = $form->getOption('buttons_span') ?: 12;
140 140
             }
141 141
             $content .= '<div class="input-group search-form-buttons col-md-' . $buttonsSpan . ' text-right">'
142
-                      . '<div class="btn-group">' . $this->renderButtons($form->getButtons()) .'</div></div>';
142
+                        . '<div class="btn-group">' . $this->renderButtons($form->getButtons()) .'</div></div>';
143 143
         }
144 144
 
145 145
         return $content;
Please login to merge, or discard this patch.