return redirect(url_for('newRm',error=error))
return render_template('NewRoom.html', error=error)
@app.route('/NewRoom', defaults={'error':''})
@app.route('/Newroom/<error>')
def newRm():
return render_template('NewRoom.html')
return redirect(url_for('newRm', error=error))
return render_template('NewRoom.html')