Render both input and non-input elements correctly.