                 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_add_all_students_button: (options) ->
+        disabled = (options.length == 0)
+        disabled or= ((@state.selected_option_nodes?.length ? 0) > 0)
+        <Button
+            onClick  = {=>@add_all_students(options)}
+            disabled = {disabled}
+        >
+            <Icon name={'user-plus'} /> Add all students
+        </Button>
 
     render_error: ->
         ed = null

        @actions(@props.name).add_students(students)
        @setState(err:undefined, add_select:undefined, selected_option_nodes:undefined, add_search:'')

    get_add_selector_options: ->
        v = []
        seen = {}

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

    render_add_selector_button: (options) ->
