albe-rosado
11/22/2016 - 9:47 PM

view.py

@app.route('/path', methods=['GET', 'POST'])
def page():
  visible = 'none'
  # to make the section hide or
  visible = 'true'
  # to be displayed
  # then you can choose wheter or not show it, just changing the value of "visible" 
  return render_template('template.html', visible=visible)