minor title fix profile
This commit is contained in:
parent
d61fd3bb2c
commit
71f8ff967c
@ -118,7 +118,7 @@ def user(username):
|
|||||||
prev_url = url_for('user', username=user.username, page=posts.prev_num) if posts.has_prev else None
|
prev_url = url_for('user', username=user.username, page=posts.prev_num) if posts.has_prev else None
|
||||||
|
|
||||||
form = EmptyForm()
|
form = EmptyForm()
|
||||||
return render_template('user.html', user=user, posts=posts.items, next_url=next_url, prev_url=prev_url, form=form)
|
return render_template('user.html', title='Profile', user=user, posts=posts.items, next_url=next_url, prev_url=prev_url, form=form)
|
||||||
|
|
||||||
@app.route('/edit_profile', methods=['GET', 'POST'])
|
@app.route('/edit_profile', methods=['GET', 'POST'])
|
||||||
@login_required
|
@login_required
|
||||||
|
Loading…
Reference in New Issue
Block a user