* assets/js/member-info.js: Wrap labels and inputs in divs with the
necessary classes applied for good style.
return _.isString(field.label) && _.isString(field.html);
})
.map(function (field) {
- return $('<div class="form-item"></div>')
- .append(field.label)
- .append(field.html);
+ return $('<div class="crm-section"></div>')
+ .append($('<div class="form-item"></div>')
+ .append($('<div class="label"></div>')
+ .append(field.label))
+ .append($('<div class="content"></div>')
+ .append(field.html))
+ .append($('<div class="clear"></div>')));
})
.value();
}