property types
This commit is contained in:
@@ -82,7 +82,7 @@ def create_listing():
|
||||
|
||||
db.session.commit()
|
||||
return redirect(url_for('dashboard'))
|
||||
return render_template('create_listing.html')
|
||||
return render_template('create_listing.html', property_types=Listing.PROPERTY_TYPES)
|
||||
|
||||
@app.route('/booking/<int:listing_id>', methods=['GET', 'POST'])
|
||||
@login_required
|
||||
|
||||
Reference in New Issue
Block a user