diff options
Diffstat (limited to 'view/tpl/common_tabs.tpl')
-rw-r--r-- | view/tpl/common_tabs.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/common_tabs.tpl b/view/tpl/common_tabs.tpl index f8ceff46a..143293eb3 100644 --- a/view/tpl/common_tabs.tpl +++ b/view/tpl/common_tabs.tpl @@ -1,5 +1,5 @@ <ul class="tabs"> {{ for $tabs as $tab }} - <li id="$tab.id"><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li> + <li {{ if $tab.id }}id="$tab.id"{{ endif }}><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li> {{ endfor }} </ul> |