Fix form language tab order
This commit is contained in:
parent
01d47ec113
commit
6eb36f2374
|
@ -166,7 +166,7 @@
|
|||
<!-- Language Tabs -->
|
||||
<div class="nav-name"><strong><%= t(:language) %></strong></div>
|
||||
<ul class="nav nav-pills language-nav">
|
||||
<% I18n.available_locales.each_with_index do |locale, i| %>
|
||||
<% @site_in_use_locales.each_with_index do |locale, i| %>
|
||||
<li class="<%= 'active' if i == 0 %>">
|
||||
<a data-toggle="tab" href=".<%= locale %>"><%= t(locale.to_s) %></a>
|
||||
</li>
|
||||
|
@ -176,7 +176,7 @@
|
|||
<!-- Language -->
|
||||
<div class="tab-content language-area">
|
||||
|
||||
<% I18n.available_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" : '' %>">
|
||||
|
||||
|
|
Loading…
Reference in New Issue