AssetForm read only display

Hides all the form inputs from AssetForm when we are in read only mode, and shows text paragraphs and lists instead.
Declare `outer` here and on line 267 instead of sharing variable between clauses