PUG-Bootstrap icon indicating copy to clipboard operation
PUG-Bootstrap copied to clipboard

jade-bootstrap can't understand express return variables

Open yongdi opened this issue 8 years ago • 2 comments

+dropdown("select type",[ {text: "by month", url: 'javascript:change_chart(#{chart},'month')'}, {text: "by year", url: 'javascript:change_chart(#{chart},'year')'} ])

this is my snippet, i want to render the page with variables that server gives me. but not matter how, i couldn't make it.

yongdi avatar Feb 13 '17 12:02 yongdi

@yongdi Do you have a sample repo so that i can look into the issue in detail. and also it will help to nail down the root cause...

rajasegar avatar Feb 13 '17 12:02 rajasegar

Archive.zip

according to our company's policy, I can't give all the project. 2 jade views affixed. the node server responses like: res.render('data-table', { cols: cols, tableName: req.params.table, chart: req.params.table, show_date_search: show_date_search });

Till now, everything is ok, including table & charts, except this issue. thank you for helping me

yongdi avatar Feb 13 '17 16:02 yongdi