<tr id="<%= "survey_question_radiogroup_#{form_survey_question_radiogroup.id}" if !form_survey_question_radiogroup.new_record? %>" class='survey_question_radiogroup_item'>
  <td>
    <div class="tab-content">
      <% @site_in_use_locales.each_with_index do |locale, i| %>
        <div class="<%= locale %> fade tab-pane <%= ( i == 0 ) ? "in active" : '' %>">
          <%= f.fields_for :name_translations do |f| %>
            <%= I18nVariable.from_locale(locale) %>
            <%= f.text_field locale, :style=>"width:98%;", :value => (form_survey_question_radiogroup.name_translations[locale] rescue nil) %>
          <% end %>
        </div>
      <% end %>
    </div>
  </td>
  <td>
    <span class="action">
      <% if form_survey_question_radiogroup.new_record? %>
        <a class="delete_radiogroup"><i class="icon-remove"></i></a>
      <% else %>  
        <%= f.hidden_field :id %>
        <%= hidden_field_tag :tr, (dom_id form_survey_question_radiogroup) %>
        <a class="remove_existing_record_radiogroup"><i class="icon-remove"></i></a>
        <%= f.hidden_field :_destroy, :value => nil, :class => 'should_destroy' %>
      <% end %>
    </span>
  </td>
</tr>