Type of real estate
This commit is contained in:
@@ -1,5 +1,15 @@
|
|||||||
|
const vrsteNekretnina = [
|
||||||
|
{ ime: "Kuća", id: "kuca" },
|
||||||
|
{ ime: "Stan", id: "stan" },
|
||||||
|
{ ime: "Vikendica", id: "vikendica" }
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
const getVrstaNekretnine = (req,res) => {
|
const getVrstaNekretnine = (req,res) => {
|
||||||
res.render('vrsta_nekretnine', { nextStep: '/' } );
|
res.render('vrsta_nekretnine', {
|
||||||
|
nextStep: '/',
|
||||||
|
vrste: vrsteNekretnina
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
<div class="row center-align">
|
||||||
|
<h2>Koju nekretninu tražite?</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row center-align">
|
||||||
|
<ul class="collection with-header">
|
||||||
|
<% for(let vrsta of vrste) { %>
|
||||||
|
<li class="collection-item"><div><%= vrsta.ime %><a href="#!" class="secondary-content"><i class="material-icons">send</i></a></div></li>
|
||||||
|
<% } %>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="<%= nextStep %>"> >>> </a>
|
<a href="<%= nextStep %>"> >>> </a>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user