@@ -196,12 +196,12 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | $html = $this->insideCard |
199 | - ? "\n" . Html::beginTag('div', $this->containerOptions) |
|
199 | + ? "\n".Html::beginTag('div', $this->containerOptions) |
|
200 | 200 | : ''; |
201 | 201 | $html .= Html::tag('ul', implode("\n", $headers), $this->options); |
202 | - $html .= $this->insideCard ? "\n" . Html::endTag('div') : ''; |
|
202 | + $html .= $this->insideCard ? "\n".Html::endTag('div') : ''; |
|
203 | 203 | $html .= $this->renderTabContent |
204 | - ? "\n" . Html::tag('div', implode("\n", $panes), $this->contentOptions) |
|
204 | + ? "\n".Html::tag('div', implode("\n", $panes), $this->contentOptions) |
|
205 | 205 | : ''; |
206 | 206 | |
207 | 207 | return $html; |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | $headerOptions = array_merge($this->headerOptions, ArrayHelper::getValue($item, 'headerOptions', [])); |
229 | 229 | $linkOptions = array_merge($this->linkOptions, ArrayHelper::getValue($item, 'linkOptions', [])); |
230 | 230 | $options = array_merge($this->itemOptions, ArrayHelper::getValue($item, 'options', [])); |
231 | - $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'] . '-tab' . $index); |
|
231 | + $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'].'-tab'.$index); |
|
232 | 232 | |
233 | 233 | if (!$this->insideCard) { |
234 | 234 | Html::addCssClass($options, 'col s12'); |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | $linkOptions['target'] = isset($linkOptions['target']) ? $linkOptions['target'] : '_self'; |
253 | 253 | $header = Html::a($label, $item['url'], $linkOptions); |
254 | 254 | } else { |
255 | - $header = Html::a($label, '#' . $options['id'], $linkOptions); |
|
255 | + $header = Html::a($label, '#'.$options['id'], $linkOptions); |
|
256 | 256 | } |
257 | 257 | |
258 | 258 | // Add tab content |