Below is part of my node.js application's client code using EJS template. There is a input box and I want to show if user doesn't log in, show message into input box. and Also, input box should be unable too.
But It doesn't show properly, How can I display whole statement including space not just 'Need' but 'Need to Login' ?
<input type="text" <%= (isAuthenticated) ? '' : "value='Need to Login'" %> /> // view : 'Need // It doesn't show after space