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

@@ -2,6 +2,8 @@ const { currentRERequest } = require('../helpers/url');
const getPrice = (req,res) => {
const title = "Koja Vam okvirna cijena odgovara ?"
const unit = " KM"
const rangeFrom = {
min : 1000,
@@ -18,7 +20,7 @@ const getPrice = (req,res) => {
}
res.render('price', {rangeFrom, rangeTo, unit });
res.render('price', {rangeFrom, rangeTo, unit, title });
};
const postPrice = async (req, res) => {