       record.unbind(@)
       @render_errors message.errors
 
-    # Ajax
     @ajax_prepare(record, success_callback)
 
     record.save()


      item.removeClass('active')


  validate_date_format: (date) =>
    Ui.validate_date_format(date)

  # UI
  activate_in_list: (target) ->
    # if target is undefined it will clear the list
    if $(target).length > 0
