Questions tagged as 'ejs'

1
answer

Module connect-flash does not work

How about? I am working on a project which I need to pass messages from the server to the client, and I have decided to use the Connect-Flash module. But when the message is passed, the client does not show it. (I'm using the EJS template engine...
asked by 16.09.2018 / 22:11
0
answers

convert code from ejs to jade

I have the following code made in ejs <div class="container"> <h1>Students</h1> <ul class="list-group"> <% students.forEach( function( student ) { %> <li class="list...
asked by 28.02.2017 / 19:34
1
answer

include in template ejs

I'm doing a render recursive and quite simple in this way in express // index.js const VIEWS = __dirname + '/app/views/'; app.get('/', function (req, res) { res.render(VIEWS + 'includes/partials/body', {layout: VIEWS + 'dash...
asked by 15.03.2017 / 02:32
0
answers

numbers in express and nodejs (body-parser)

I have the following problem. When the POST is made to the bakcend (Nodejs) and the last information is logged in the console the value of the inputs of type="number" is shown as if they were strings. This is what it says: { student: 'a',...
asked by 11.10.2018 / 20:25