property types

This commit is contained in:
2025-01-16 13:23:50 +08:00
parent 7eeab87862
commit 75e9cbda7b
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -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