Reducing code duplication by adding helper method for form template rendering
Updating renderForm() controller helper so it supports additional view params, implementing in AttributeController