Skip to content

Commit

Permalink
Using cleaner tab styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Oct 11, 2017
1 parent f4188e6 commit 968ba83
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 134 deletions.
2 changes: 1 addition & 1 deletion Modules/Media/Assets/js/components/MediaForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">

Expand Down
2 changes: 1 addition & 1 deletion Modules/Page/Assets/js/components/PageForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Modules/User/Assets/js/components/RoleForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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') }">
Expand Down
Loading

0 comments on commit 968ba83

Please sign in to comment.