student_register.py
def display_error(self, error_msg):
        """
        Returns an error-page rendering of studentRegister.html that displays the given error_msg
        Input: self, error_msg
        Output: the error-page rendering of the studentRegister.html template
        """
        return render_template("studentRegister.html", message=error_msg, is_error=True)

        Returns an error-page rendering of studentRegister.html that displays the given error_msg
        Input: self, error_msg
        Output: the error-page rendering of the studentRegister.html template
        
Returns an error-page rendering of studentRegister.html that displays the given error_msg
Input: self, error_msg
Output: the error-page rendering of the studentRegister.html template
Returns an error - page rendering of studentRegister . html that displays the given error_msg Input : self error_msg Output : the error - page rendering of the studentRegister . html template
def display_error(self, error_msg):
        return render_template("studentRegister.html", message=error_msg, is_error=True)
def display_error ( self , error_msg ) : return render_template ( "studentRegister.html" , message = error_msg , is_error = True )
Returns an error-page rendering of studentRegister.html that displays the given error_msg
Input: self, error_msg
Output: the error-page rendering of the studentRegister.html template
Returns an error - page rendering of studentRegister . html that displays the given error_msg Input : self error_msg Output : the error - page rendering of the studentRegister . html template
"""
        Returns an error-page rendering of studentRegister.html that displays the given error_msg
        Input: self, error_msg
        Output: the error-page rendering of the studentRegister.html template
        """
self
error_msg