I want to create a form to input custom keys and values of an object in an mongo/mongoose schema to eventually see in a handlebars view. See example to better explain. Any help would be great. :)
Mongoose/Mongodb Schema:
var docketSchema = new Schema({
staff: [{ String: String, String: String }]
});
Handlebars input view:
<div class="form-group">
<input value="{{input.staffkey1}}">
<input value="{{input.staffvalue1}}">
</div>
<div class="form-group">
<input value="{{input.staffkey2}}">
<input value="{{input.staffvalue2}}">
</div>