Using cleaner tab styles

parent f4188e6b
......@@ -21,7 +21,7 @@
<div class="col-md-8">
<div class="box box-primary">
<div class="box-body">
<el-tabs type="card" v-model="activeTab">
<el-tabs v-model="activeTab">
<el-tab-pane :label="localeArray.name" v-for="(localeArray, locale) in locales"
:key="localeArray.name" :name="locale">
......
......@@ -22,7 +22,7 @@
<div class="col-md-10">
<div class="box box-primary">
<div class="box-body">
<el-tabs type="card" v-model="activeTab">
<el-tabs v-model="activeTab">
<el-tab-pane :label="localeArray.name" v-for="(localeArray, locale) in locales"
:key="localeArray.name" :name="locale">
<span slot="label" :class="{'error' : form.errors.has(locale)}">{{ localeArray.name
......
......@@ -24,7 +24,7 @@
<div class="col-md-12">
<div class="box box-primary">
<div class="box-body">
<el-tabs type="card">
<el-tabs>
<el-tab-pane :label="trans('roles.tabs.data')">
<el-form-item :label="trans('roles.form.name')"
:class="{'el-form-item is-error': form.errors.has('name') }">
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment