Created
November 22, 2016 21:47
-
-
Save albe-rosado/4de7164136d11782aa37a9a973e7e20d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment