            <% temp_field_name = field_name.gsub /\[\D*\]$/,'[temp]'%>
            <div class="control-group">
              <%= hidden_field_tag "#{temp_field_name}[count]",((values.keys.collect{|t| t.to_i}.max rescue nil)  || 0 ),:class=>"list_count"%>
              <%= hidden_field_tag "#{temp_field_name}[name]",field_name,:class=>"field_name"%>
              <label class="control-label muted" for=""><%= t(:options)%></label>
              <div class="controls add-input">
                <div class="add-target single">

                  <%if values.blank? %>
                      <%= content_tag :div,:class=>"input-append" do%>
                        <% @site_in_use_locales.each do |locale| %>
                          <% last = (locale == @site_in_use_locales.last ? true : false) %>
                          <% p_value = value[locale.to_s] rescue nil%>
                            <%= text_field("#{field_name}[0]", locale,:placeholder=>I18nVariable.from_locale(locale),:class=>"input-medium",:data=>{:type=>"option_lang_0_#{locale}"}) %>
                            <% if last %>
                              <a href="#" class="btn remove-input"> <i class="icon-trash"></i> </a> 
                            <% end %>
                        <% end %>
                      <% end %>
                  <%else%>
                      <%values.each do |index,value|%>

                        <%= content_tag :div,:class=>"input-append" do%>
                        <% @site_in_use_locales.each do |locale| %>
                            <% last = (locale == @site_in_use_locales.last ? true : false) %>
                            <% p_value = value[locale.to_s] rescue nil%>
                              <%= text_field("#{field_name}[#{index}]", locale,:value=>p_value,:placeholder=>I18nVariable.from_locale(locale),:class=>"input-medium", :data=>{:type=>"option_lang_#{index}_#{locale}"}) %>
                              <% if last %>
                                <a href="#" class="btn remove-input"> <i class="icon-trash"></i> </a> 
                              <% end %>
                          <% end %>
                        <% end %>

                    <% end %>
                  <% end %>

                </div>

                <p class="add-btn"> <a href="#" class="typeB trigger btn btn-mini btn-primary"><i class="icons-plus"></i> <%= t(:add) %></a> </p>
              </div>
            </div>
