       $radio.find('input:first').val(index - 1)
 
   delete_hidden_choice: (form,type)->
-    $choice_answer_indexs = choice_answer_indexs(form)
+    $choice_answer_indexs = form.find('.question_choice_answer_indexs')
     $choice_answer_indexs.find(type).remove()
+
 
 
 class SingleChoice extends Function

      $delete_checkbox = jQuery(event.target).closest('.checkbox')
      delete_index = parseInt($delete_checkbox.find('input:first').val())
      last_index   = $choice_answer_indexs.find('.checkbox:not(.hidden)').length - 1
      
      @choice_answer_indexs_desc($choice_answer_indexs,delete_index,last_index,'.radio:not(.hidden)')

      $delete_checkbox.remove()

    @$mul.on 'submit','form', (evt)=>
      @delete_hidden_choice(@$mul,'.checkbox.hidden')




      $delete_radio.remove()

    jQuery(document).on 'submit', '.form-question-single-choice form', (evt)=>
      @delete_hidden_choice(@$sin,'.radio.hidden')

    
class MultiChoice extends Function
  constructor: (@$mul)->
