Skip to content

Commit

Permalink
[TASK] Restore tab styling for v13 forms
Browse files Browse the repository at this point in the history
  • Loading branch information
nhovratov committed Oct 18, 2024
1 parent f4658ce commit 036dcdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Partials/Form.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
</div>
<div v-if="global.activeField.name != 'linebreak'" class="mask-field-form__tabpanel" role="tabpanel">
<ul class="nav nav-tabs" role="tablist" data-store-last-tab="1">
<li v-for="(tab, key) in fieldTabs" role="presentation" :class="{active: key === global.currentTab, 'has-validation-error': key == 'general' && activeFieldHasKeyError}">
<a role="tab" href="#" @click.prevent="global.currentTab = key" :class="{active: key === global.currentTab}">
<li v-for="(tab, key) in fieldTabs" role="presentation" class="nav-item" :class="{active: key === global.currentTab, 'has-validation-error': key == 'general' && activeFieldHasKeyError}">
<a role="tab" href="#" @click.prevent="global.currentTab = key" class="nav-link" :class="{active: key === global.currentTab}">
{{ language.tabs[key] }}
</a>
</li>
Expand Down

0 comments on commit 036dcdf

Please sign in to comment.