Ignoring undefined data / vars in an underscore template
问题 Still learning backbone so bear with me; I'm trying to add a new model with blank fields to a view, but the template I've created has a whole bunch of <input value="<%= some_value %>" type="whatever" /> Works perfectly fine when fetching data, it populates it and all goes well. The trouble arises when I want to create a new (blank) rendered view, it gives me Uncaught ReferenceError: some_value is not defined I can set defaults (I do already for a few that have default values in the db) but