         @actions(@props.name).add_students(students)
         @setState(err:undefined, add_select:undefined, selected_option_nodes:undefined, add_search:'')
 
+    add_all_students: (options) ->
+        students = []
+        for entry in @state.add_select
+            account_id = entry.account_id
+            if misc.is_valid_uuid_string(account_id)
+                students.push(
+                    account_id    : account_id
+                    email_address : entry.email_address
+                )
+            else
+                students.push(email_address : entry.email_address)
+        @actions(@props.name).add_students(students)
+        @setState(err:undefined, add_select:undefined, selected_option_nodes:undefined, add_search:'')
+
     get_add_selector_options: ->
         v = []
         seen = {}

                else "Add #{nb_selected} students"
        disabled = options.length == 0 or (options.length >= 2 and nb_selected == 0)
        <Button onClick={=>@add_selected_students(options)} disabled={disabled}><Icon name='user-plus' /> {btn_text}</Button>

    render_error: ->
        ed = null

                {options}
            </FormControl>
            {@render_add_selector_button(options)}
            {@render_add_all_students_button(options)}
        </FormGroup>

    render_add_selector_button: (options) ->
