We use a metadata model for most of the EditViews in the product, where the fields displayed and the layout is controlled by a definition file. This makes it quite easy to alter the views without having to dig into HTML code ( you can read more about how these metadata files work here ).
One question came up on the forums, where a user was trying to add additional HTML attributes to the input element for the given field. This is relatively simple to do; you can use the ‘field’ attribute of the ‘displayParams’ attribute to specify what HTML attributes to add to the input element as shown below.
This would output an input element like this: