Completed
Pull Request — develop (#225)
by ANTHONIUS
08:39
created
module/Core/src/Core/Form/View/Helper/FormFileUpload.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
         $renderer = $this->getView();
51 51
         $basepath = $renderer->plugin('basepath');
52 52
         $renderer->headscript()
53
-                 ->appendFile($basepath('js/jquery-file-upload/vendor/jquery.ui.widget.js'))
54
-                 ->appendFile($basepath('js/jquery-file-upload/jquery.iframe-transport.js'))
55
-                 ->appendFile($basepath('js/jquery-file-upload/jquery.fileupload.js'))
56
-                 ->appendFile($basepath($this->scriptFile));
53
+                    ->appendFile($basepath('js/jquery-file-upload/vendor/jquery.ui.widget.js'))
54
+                    ->appendFile($basepath('js/jquery-file-upload/jquery.iframe-transport.js'))
55
+                    ->appendFile($basepath('js/jquery-file-upload/jquery.fileupload.js'))
56
+                    ->appendFile($basepath($this->scriptFile));
57 57
 
58 58
         $markup = $this->renderMarkup($element);
59 59
         // $fileInput = parent::render($element);
@@ -126,11 +126,11 @@  discard block
 block discarded – undo
126 126
 
127 127
             return str_replace(
128 128
                 array('#abort',
129
-                      '__file-uri__',
130
-                      '__file-name__',
131
-                      '__file-size__',
132
-                      'fu-working',
133
-                      'fa-file-o'
129
+                        '__file-uri__',
130
+                        '__file-name__',
131
+                        '__file-size__',
132
+                        'fu-working',
133
+                        'fa-file-o'
134 134
                 ),
135 135
                 array("$uri?do=delete", $uri, $name, $size, '', $icon),
136 136
                 $template
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
             '<div class="fu-nonempty-notice"' . ('' == trim($preview) ? ' style="display:none;"' : '') . '>'
159 159
             . $notice . '</div>';
160 160
         $emptynotice    = '<div class="fu-empty-notice"'
161
-                          . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
161
+                            . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
162 162
                        <div class="pull-left">
163 163
                             <span class="yk-icon fa-files-o fa-5x"></span>
164 164
                         </div>' . $notice . '
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -103,12 +103,12 @@  discard block
 block discarded – undo
103 103
     </a>
104 104
     <div class="fu-errors input-error">
105 105
         <ul class="errors">
106
-            <li class="fu-error-size">' . $translator->translate('The file is too big', $textDomain) . '</li>
107
-            <li class="fu-error-type">' . $translator->translate('The file type is not supported', $textDomain) . '</li>
106
+            <li class="fu-error-size">' . $translator->translate('The file is too big', $textDomain).'</li>
107
+            <li class="fu-error-type">' . $translator->translate('The file type is not supported', $textDomain).'</li>
108 108
             <li class="fu-error-count">' . sprintf(
109 109
     $translator->translate('You may only upload %d files', $textDomain),
110 110
     $element->getAttribute('data-maxfilecount')
111
-) . '</li><li class="fu-error-general">' . $translator->translate('An unknown error occured.') . '</li>
111
+).'</li><li class="fu-error-general">'.$translator->translate('An unknown error occured.').'</li>
112 112
         </ul>
113 113
    </div>
114 114
 </li>';
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         /* @var $basepath \Zend\View\Helper\BasePath */
117 117
         $renderer          = $this->getView();
118 118
         $basepath          = $renderer->plugin('basepath');
119
-        $createFileDisplay = function ($file) use ($template, $basepath) {
119
+        $createFileDisplay = function($file) use ($template, $basepath) {
120 120
             /* @var $file \Core\Entity\FileInterface */
121 121
             $uri  = $basepath($file->getUri());
122 122
             $name = $file->getName();
@@ -153,15 +153,15 @@  discard block
 block discarded – undo
153 153
         }
154 154
 
155 155
         $notice         =
156
-            '<small>' . $translator->translate('Click here to add files or use drag and drop.') . '</small>';
156
+            '<small>'.$translator->translate('Click here to add files or use drag and drop.').'</small>';
157 157
         $nonemptynotice =
158
-            '<div class="fu-nonempty-notice"' . ('' == trim($preview) ? ' style="display:none;"' : '') . '>'
159
-            . $notice . '</div>';
158
+            '<div class="fu-nonempty-notice"'.('' == trim($preview) ? ' style="display:none;"' : '').'>'
159
+            . $notice.'</div>';
160 160
         $emptynotice    = '<div class="fu-empty-notice"'
161
-                          . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
161
+                          . ('' == trim($preview) ? '' : ' style="display: none;"').'>
162 162
                        <div class="pull-left">
163 163
                             <span class="yk-icon fa-files-o fa-5x"></span>
164
-                        </div>' . $notice . '
164
+                        </div>' . $notice.'
165 165
                   </div>';
166 166
 
167 167
         $markup = '
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FilterForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
                     $element->setLabel('');
40 40
                     $element->setAttribute('placeholder', $label);
41 41
                 }
42
-                $formContent .= $this->getView()->formRow($element, null, null, Form::LAYOUT_BARE) . ' ';
42
+                $formContent .= $this->getView()->formRow($element, null, null, Form::LAYOUT_BARE).' ';
43 43
             }
44 44
         }
45 45
         
46 46
         
47
-        return $this->openTag($form) . $formContent . $this->closeTag();
47
+        return $this->openTag($form).$formContent.$this->closeTag();
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormRow.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
 
53 53
         if ($element instanceof ViewPartialProviderInterface && !$ignoreViewPartial) {
54 54
             return $this->getView()->partial($element->getViewPartial(),
55
-                                             array(
56
-                                                 'element' => $element,
57
-                                                 'labelWitdh' => $labelWidth,
58
-                                                 'label_attributes' => $labelAttributes
55
+                                                array(
56
+                                                    'element' => $element,
57
+                                                    'labelWitdh' => $labelWidth,
58
+                                                    'label_attributes' => $labelAttributes
59 59
                                                             )
60 60
             );
61 61
         }
@@ -107,10 +107,10 @@  discard block
 block discarded – undo
107 107
         $desc = $element->getOption('description', false);
108 108
         if ($desc && $this->layout != Form::LAYOUT_BARE) {
109 109
             if (null !== ($translator = $this->getTranslator())) {
110
-                             $desc = $translator->translate(
111
-                                 $desc,
112
-                                 $this->getTranslatorTextDomain()
113
-                             );
110
+                                $desc = $translator->translate(
111
+                                    $desc,
112
+                                    $this->getTranslatorTextDomain()
113
+                                );
114 114
             }
115 115
             $elementString .= sprintf(
116 116
                 '<div id="%s-desc" class="cam-description alert alert-info">%s</div>',
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
         
77 77
         // Does this element have errors ?
78 78
         if (!empty($elementErrors) && !empty($inputErrorClass) && $this->layout != Form::LAYOUT_BARE) {
79
-            $classAttributes = ($element->hasAttribute('class') ? $element->getAttribute('class') . ' ' : '');
80
-            $classAttributes = $classAttributes . $inputErrorClass;
79
+            $classAttributes = ($element->hasAttribute('class') ? $element->getAttribute('class').' ' : '');
80
+            $classAttributes = $classAttributes.$inputErrorClass;
81 81
     
82 82
             $element->setAttribute('class', $classAttributes);
83 83
         }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         if (!$element->hasAttribute('id')) {
86 86
             $elementId = preg_replace(
87 87
                 array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'),
88
-                array('-'             , '-',     ''),
88
+                array('-', '-', ''),
89 89
                 $element->getName()
90 90
             );
91 91
             $element->setAttribute('id', $elementId);
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         }
132 132
         
133 133
         // moved label here so we can change it in the ElementViewHelper
134
-        $label           = $element->getLabel();
134
+        $label = $element->getLabel();
135 135
         if (isset($label) && '' !== $label && !$element instanceof \Zend\Form\Element\Button) {
136 136
             // Translate the label
137 137
             if (null !== ($translator = $this->getTranslator())) {
@@ -173,11 +173,11 @@  discard block
 block discarded – undo
173 173
                     }
174 174
                     $element->setLabelAttributes($labelAttributes);
175 175
 
176
-                    $label = $labelHelper($element,$label);
176
+                    $label = $labelHelper($element, $label);
177 177
                     if ($this->shouldWrap) {
178 178
                         $spanWidth = 12 - $labelWidth;
179 179
                         $elementString = sprintf(
180
-                            '<div class="col-md-%d%s" id="' . $elementId . '-span">%s</div>',
180
+                            '<div class="col-md-%d%s" id="'.$elementId.'-span">%s</div>',
181 181
                             $spanWidth,
182 182
                             $elementErrors ? " $inputErrorClass" : '',
183 183
                             $elementString
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
                         );
190 190
 
191 191
                     }
192
-                        $markup = $label . $elementString;
192
+                        $markup = $label.$elementString;
193 193
                 }
194 194
             }
195 195
         } else {
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
             && !$element instanceof \Zend\Form\Element\Button
211 211
             && $this->layout != Form::LAYOUT_BARE
212 212
             ) {
213
-            $markup = sprintf('<div class="controls controls-row ' . $form_row_class . '">%s</div>', $markup);
213
+            $markup = sprintf('<div class="controls controls-row '.$form_row_class.'">%s</div>', $markup);
214 214
         }
215 215
     
216 216
         return $markup;
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/Form.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
         $basepath   = $renderer->plugin('basepath');
72 72
         
73 73
         $headscript->appendFile($basepath('Core/js/core.spinnerbutton.js'))
74
-                   ->appendFile($basepath('js/select2.min.js'))
75
-                   ->appendFile($basepath('Core/js/core.forms.js'));
74
+                    ->appendFile($basepath('js/select2.min.js'))
75
+                    ->appendFile($basepath('Core/js/core.forms.js'));
76 76
 
77 77
         /* @noinspection PhpParamsInspection */
78 78
         $renderer->headLink()->appendStylesheet($basepath('css/select2.css'));
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         
89 89
         $class = $form->getAttribute('class');
90 90
         $class = preg_replace('~\bform-[^ ]+\b~', '', $class);
91
-        $class .= ' ' . $layout;
91
+        $class .= ' '.$layout;
92 92
         
93 93
         $form->setAttribute('class', $class);
94 94
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             'id',
98 98
             preg_replace(
99 99
                 array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'),
100
-                array('-'              , '-'    , ''       ),
100
+                array('-', '-', ''),
101 101
                 $formId
102 102
             )
103 103
         );
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
             if (!$element->hasAttribute('id')) {
119 119
                 $elementId = preg_replace(
120 120
                     array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'),
121
-                    array('-'             , '-',     ''),
121
+                    array('-', '-', ''),
122 122
                     $element->getName()
123 123
                 );
124 124
                 $element->setAttribute('id', $elementId);
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             }
157 157
         }
158 158
         
159
-        return $this->openTag($form) . $formContent . $this->closeTag();
159
+        return $this->openTag($form).$formContent.$this->closeTag();
160 160
     }
161 161
     
162 162
     /**
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
                 );
185 185
                 
186 186
                 if ($desc = $form->getOption('description', '')) {
187
-                    $descriptionParams=$form->getOption('description_params');
187
+                    $descriptionParams = $form->getOption('description_params');
188 188
                     $translator = $this->getTranslator();
189 189
                     $textDomain = $this->getTranslatorTextDomain();
190 190
                     $desc = $translator->translate($desc, $textDomain);
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
                     $desc
206 206
                 );
207 207
         } else {
208
-            $formContent = '<div class="form-content">' . $formContent . '</div>';
208
+            $formContent = '<div class="form-content">'.$formContent.'</div>';
209 209
         }
210 210
         
211 211
         $markup = '<div id="form-%s" class="form-container">'
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
                 . '</div>';
215 215
         
216 216
         if ($label = $form->getLabel()) {
217
-            $label = '<div class="form-headline"><h3>' . $renderer->translate($label) . '</h3></div>';
217
+            $label = '<div class="form-headline"><h3>'.$renderer->translate($label).'</h3></div>';
218 218
         }
219 219
         
220 220
         return sprintf(
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormDatePicker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      *
27 27
      * @var string
28 28
      */
29
-    protected $language="de";
29
+    protected $language = "de";
30 30
 
31 31
     public function __invoke(ElementInterface $element = null)
32 32
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         /*
61 61
          *
62 62
          */
63
-        $markup = '<div class="input-group date">%s<div data-toggle="description" data-target="%s" class="input-group-addon" onClick="$(this).parent().find(\':input\').datepicker(\'show\')">' .
63
+        $markup = '<div class="input-group date">%s<div data-toggle="description" data-target="%s" class="input-group-addon" onClick="$(this).parent().find(\':input\').datepicker(\'show\')">'.
64 64
             '<i class="fa fa-calendar"></i></div></div><div class="checkbox"></div>';
65 65
         
66 66
         $markup = sprintf(
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormCheckbox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         }
35 35
 
36 36
         if ($headline) {
37
-            $headline = '<h6>' . $translator->translate($headline, $textDomain) . '</h6>';
37
+            $headline = '<h6>'.$translator->translate($headline, $textDomain).'</h6>';
38 38
         }
39 39
 
40 40
         $markup = '<div class="checkbox"><label for="%s">%s %s</label></div>';
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             $label
47 47
         );
48 48
         
49
-        return $headline . $markup;
49
+        return $headline.$markup;
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormInfoCheckbox.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
                 }
49 49
                 $linktext = $translator->translate($linktext);
50 50
                 $link = '<a data-toggle="modal" href="' . $href . '" '
51
-                      . 'data-target="#modal-' . $element->getAttribute('id') . '">'
52
-                      . $linktext . '</a>';
51
+                        . 'data-target="#modal-' . $element->getAttribute('id') . '">'
52
+                        . $linktext . '</a>';
53 53
                 
54 54
                 $label = sprintf($label, $link);
55 55
             }
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -44,26 +44,26 @@  discard block
 block discarded – undo
44 44
                     $href = $this->getView()->url($route, $params, true);
45 45
                 } else {
46 46
                     /*@todo add more options like providing url... */
47
-                    $href="";
47
+                    $href = "";
48 48
                 }
49 49
                 $linktext = $translator->translate($linktext);
50
-                $link = '<a data-toggle="modal" href="' . $href . '" '
51
-                      . 'data-target="#modal-' . $element->getAttribute('id') . '">'
52
-                      . $linktext . '</a>';
50
+                $link = '<a data-toggle="modal" href="'.$href.'" '
51
+                      . 'data-target="#modal-'.$element->getAttribute('id').'">'
52
+                      . $linktext.'</a>';
53 53
                 
54 54
                 $label = sprintf($label, $link);
55 55
             }
56 56
         }
57 57
 
58 58
         if ($headline) {
59
-            $headline = '<h6>' . $translator->translate($headline, $textDomain) . '</h6>';
59
+            $headline = '<h6>'.$translator->translate($headline, $textDomain).'</h6>';
60 60
         }
61 61
         
62 62
         $markup = '
63 63
         <div class="checkbox">
64 64
             <label for="%s">%s %s</label>
65 65
         </div>
66
-        <div class="modal fade modal-scrollable" id="modal-' . $element->getAttribute('id') . '" tabindex="-1" role="dialog" aria-labelledby="label-search-user" aria-hidden="true">
66
+        <div class="modal fade modal-scrollable" id="modal-' . $element->getAttribute('id').'" tabindex="-1" role="dialog" aria-labelledby="label-search-user" aria-hidden="true">
67 67
             <div class="modal-dialog modal-lg">
68 68
                 <div class="modal-content">
69 69
                 </div>
@@ -77,6 +77,6 @@  discard block
 block discarded – undo
77 77
             $label
78 78
         );
79 79
         
80
-        return $headline . $markup;
80
+        return $headline.$markup;
81 81
     }
82 82
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/RequiredMarkInFormLabel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 use Zend\Form\ElementInterface;
16 16
 use Zend\Form\Exception;
17 17
 
18
-class RequiredMarkInFormLabel extends FormLabel{
18
+class RequiredMarkInFormLabel extends FormLabel {
19 19
     public function __invoke(ElementInterface $element = null, $labelContent = null, $position = null)
20 20
     {
21 21
         // Set $required to a default of true | existing elements required-value
@@ -28,6 +28,6 @@  discard block
 block discarded – undo
28 28
             );
29 29
         }
30 30
 
31
-        return $this->openTag($element) . $labelContent . $this->closeTag();
31
+        return $this->openTag($element).$labelContent.$this->closeTag();
32 32
     }
33 33
 }
34 34
\ No newline at end of file
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/SummaryForm.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $renderer->headscript()->appendFile($renderer->basePath('Core/js/jquery.summary-form.js'));
68 68
         
69 69
         $label = $form->getLabel();
70
-        $labelContent = $label ? '<div class="sf-headline"><h3>' . $this->getView()->translate($label) . '</h3></div>' : '';
70
+        $labelContent = $label ? '<div class="sf-headline"><h3>'.$this->getView()->translate($label).'</h3></div>' : '';
71 71
         $formContent  = $this->renderForm($form, $layout, $parameter);
72 72
         $summaryContent = $this->renderSummary($form);
73 73
         
@@ -131,8 +131,8 @@  discard block
 block discarded – undo
131 131
     public function renderForm(SummaryFormInterface $form, $layout = Form::LAYOUT_HORIZONTAL, $parameter = array())
132 132
     {
133 133
                                                     /* @var $form SummaryFormInterface|\Core\Form\SummaryForm */
134
-        $renderer     = $this->getView();           /* @var $renderer \Zend\View\Renderer\PhpRenderer */
135
-        $formHelper   = $renderer->plugin('form');  /* @var $formHelper \Core\Form\View\Helper\Form */
134
+        $renderer     = $this->getView(); /* @var $renderer \Zend\View\Renderer\PhpRenderer */
135
+        $formHelper   = $renderer->plugin('form'); /* @var $formHelper \Core\Form\View\Helper\Form */
136 136
         $fieldset     = $form->getBaseFieldset();
137 137
         $resetPartial = false;
138 138
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     {
166 166
         $baseFieldset = $form->getBaseFieldset();
167 167
         if (!isset($baseFieldset)) {
168
-            throw new \InvalidArgumentException('For the Form ' . get_class($form) . ' there is no Basefieldset');
168
+            throw new \InvalidArgumentException('For the Form '.get_class($form).' there is no Basefieldset');
169 169
         }
170 170
 
171 171
         $markup = '<div class="panel panel-default" style="min-height: 100px;">
@@ -212,10 +212,10 @@  discard block
 block discarded – undo
212 212
         }
213 213
 
214 214
         if ($element instanceof ViewPartialProviderInterface) {
215
-            $renderer    = $this->getView();                 /* @var $renderer \Zend\View\Renderer\PhpRenderer */
215
+            $renderer    = $this->getView(); /* @var $renderer \Zend\View\Renderer\PhpRenderer */
216 216
             $origPartial = $element->getViewPartial();
217 217
             $partial     = "$origPartial.view";
218
-            $partialParams  = array(
218
+            $partialParams = array(
219 219
                 'element' => $element
220 220
             );
221 221
             if (!$renderer->resolver($partial)) {
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
         
232 232
         if ($element instanceof FieldsetInterface) {
233 233
             if (!$element instanceof FormInterface && $label) {
234
-                $markup .= '<h4>' . $label . '</h4>';
234
+                $markup .= '<h4>'.$label.'</h4>';
235 235
             }
236 236
             foreach ($element as $el) {
237 237
                 $markup .= $this->renderSummaryElement($el);
@@ -265,9 +265,9 @@  discard block
 block discarded – undo
265 265
 
266 266
                 $elementValue = [];
267 267
                 foreach ($multiOptions as $optGroupLabel => $vals) {
268
-                    $elementValue[] = "<b>$optGroupLabel</b><br>" . join(', ', $vals);
268
+                    $elementValue[] = "<b>$optGroupLabel</b><br>".join(', ', $vals);
269 269
                 }
270
-                $elementValue = join('<br>', $elementValue) . '<br>';
270
+                $elementValue = join('<br>', $elementValue).'<br>';
271 271
 
272 272
             } else {
273 273
                 $elementValue = $translator->translate($options[$elementValue]);
@@ -281,10 +281,10 @@  discard block
 block discarded – undo
281 281
         $markup .= '<div class="row">';
282 282
         $col = 12;
283 283
         if ($label) {
284
-            $markup .= '<div class="col-md-3 yk-label"><label>' . $label . '</label></div>';
284
+            $markup .= '<div class="col-md-3 yk-label"><label>'.$label.'</label></div>';
285 285
             $col = 9;
286 286
         }
287
-        $markup .= '<div class="col-md-' . $col . '">' . $elementValue . '</div>'
287
+        $markup .= '<div class="col-md-'.$col.'">'.$elementValue.'</div>'
288 288
             . '</div>';
289 289
         return $markup;
290 290
     }
Please login to merge, or discard this patch.