diff options
Diffstat (limited to 'assets/templates/components/tabs.twig')
-rw-r--r-- | assets/templates/components/tabs.twig | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/assets/templates/components/tabs.twig b/assets/templates/components/tabs.twig index 98b951ba..cc70c994 100644 --- a/assets/templates/components/tabs.twig +++ b/assets/templates/components/tabs.twig @@ -1,19 +1,21 @@ <div class="tabs" data-controller="{{controller_name}}"> - - {% for tab in tabs %} - <div class="tab {{tab.active}}"> - <a href="{{tab.tablink}}"> - {% if tab.iconurl %} - <span class="icon"><img src="{{tab.iconurl}}" alt="{{tab.title}}" /></span> - {% endif %} - <span class="label">{{tab.title}}</span> - </a> {% if tab.helpurl %} - <a class="help" href="{{tab.helpurl}}" title="{{lang.strhelp}}" target="phppgadminhelp">{{lang.strhelpicon}}</a> {% endif %} - </div> + {% for tab in tabs %} + + <div class="tab {{tab.active}}"> + <a href="{{tab.tablink}}"> + {% if tab.iconurl %} + <span class="icon"><img src="{{tab.iconurl}}" alt="{{tab.title}}"/></span> + {% endif %} + <span class="label">{{tab.title}}</span> + </a> + {% if tab.helpurl %} + <a class="help" href="{{tab.helpurl}}" title="{{lang.strhelp}}" target="phppgadminhelp">{{lang.strhelpicon}}</a> + {% endif %} + </div> + + {% endfor %} - {% endfor %} - </div> -<div class="clearfix"> </div>
\ No newline at end of file +<div class="clearfix"> </div> |