I think You can use this
<input type="text" name="photo[remark]" value="<%=photo.remark || ''%>" />
You can use javascript between <% %>, thats why it works
http://nodejs.org/docs/latest/api/vm.html
--
You received this message because you are subscribed to the Google Groups "Express" group.
To post to this group, send email to expre...@googlegroups.com.
To unsubscribe from this group, send email to express-js+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/express-js?hl=en.
To unsubscribe from this group, send email to express-js+...@googlegroups.com.