(self, form)
Remove a form from the phase
Remove a form from the phase
Remove a form from the phase
def remove_form(self, form):
        """Remove a form from the phase"""
        idx = self.get_phase_form_index(form)
        if idx is None:
            raise ScheduleError("That form doesn't exist in the phase")

        self.forms.remove(self.forms[idx])
def remove_form ( self , form ) : idx = self . get_phase_form_index ( form ) if idx is None : raise ScheduleError ( "That form doesn't exist in the phase" ) self . forms . remove ( self . forms [ idx ] )