Handle nav-bar

This commit is contained in:
Nedim Uka
2019-07-11 14:25:38 +02:00
parent e305c547e1
commit a6bd63b7b8
27 changed files with 84 additions and 69 deletions

View File

@@ -3,6 +3,7 @@ const { sizes, getRealEstateTypeEnum } = require('../helpers/enums');
const getSize = (req,res) => {
const title = "Od koliko kvadrata tražite nekretninu ?"
const unit = " m2"
const rangeFrom = {
min : 10,
@@ -18,7 +19,7 @@ const getSize = (req,res) => {
step : 10
}
res.render('size', { rangeFrom, rangeTo, unit });
res.render('size', { rangeFrom, rangeTo, unit, title });
};
const postSize = async (req, res) => {