              <% values ||=[]%>
              <%= content_tag :div,:class=>"control-group language-swich #{class_ext rescue "" }" do%>
                  <label class="control-label" for=""><%= (defined? label_ext) ?  label_ext : t(:placeholder) %></label>
                  <div class="controls">
                      <div class="tabbable">
                          <div class="tab-content">
                            <% @site_valid_locales.each do |locale| %>
                              <% active = (locale == @site_valid_locales.first ? "active in" : "'") %>
                              <%= content_tag :div,:class=>"tab-pane fade #{active}",:id=>"#{name_to_id(field_name)}_#{locale}" do%>
                              <% locale_value = values[locale.to_s] rescue nil%>
                              <%= text_field(field_name, locale,:value=>locale_value,:placeholder=>t("langs.#{locale}")) %>
                            <% end %>
                            <% end %>
                          </div>
                          <ul class="nav nav-pills ">
                            <% @site_valid_locales.each do |locale| %>
                              <% active = (locale == @site_valid_locales.first ? "active" : "'") %>
                              <%=content_tag :li,:class=>active do %>
                                <%= link_to t("langs.#{locale}"),"##{name_to_id(field_name)}_#{locale}",:data=>{:toggle=>"tab"}%>
                              <% end %>
                            <% end %>
                          </ul>
                      </div>
                  </div>
              <% end %>