I have a base viewmodel class that includes a current user property, and I need MVC to render a textbox or label according to the user\'s admin status.
Try to use extension methods.
It is possible to create static class (cannot be non-static or nested) with methods you need, which one parameter is Html and it is marked using 'this' keyword.
More information you can find here: http://msdn.microsoft.com/en-us/library/vstudio/bb383977.aspx