fix form language tab order
This commit is contained in:
parent
cb77e84d28
commit
98c60781b6
|
@ -72,7 +72,7 @@
|
||||||
<!-- Language Tabs -->
|
<!-- Language Tabs -->
|
||||||
<div class="nav-name"><strong><%= t(:language) %></strong></div>
|
<div class="nav-name"><strong><%= t(:language) %></strong></div>
|
||||||
<ul class="nav nav-pills language-nav">
|
<ul class="nav nav-pills language-nav">
|
||||||
<% Site.first.in_use_locales.each_with_index do |locale, i| %>
|
<% @site_in_use_locales.each_with_index do |locale, i| %>
|
||||||
<li class="<%= 'active' if i == 0 %>">
|
<li class="<%= 'active' if i == 0 %>">
|
||||||
<a data-toggle="tab" href=".<%= locale %>"><%= t(locale) %></a>
|
<a data-toggle="tab" href=".<%= locale %>"><%= t(locale) %></a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
<!-- Language -->
|
<!-- Language -->
|
||||||
<div class="tab-content language-area">
|
<div class="tab-content language-area">
|
||||||
|
|
||||||
<% Site.first.in_use_locales.each_with_index do |locale, i| %>
|
<% @site_in_use_locales.each_with_index do |locale, i| %>
|
||||||
|
|
||||||
<div class="<%= locale %> tab-pane fade <%= ( i == 0 ) ? "in active" : '' %>">
|
<div class="<%= locale %> tab-pane fade <%= ( i == 0 ) ? "in active" : '' %>">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue