title: Using almost same view for editing and viewing
body: <p>So my question is about handling both editing and viewing document data in same view. Basically, I have a view that can view document data. It has necessary fields and can show text information for user. How can I, guys, edit this document using this one view?
  So seems like I need to pass some flag that indicates "editing" or "viewing" mode and show edit textboxes or just text.
  Any techniques, methods to achieve this? Could you, guys, advice me something? Any blog posts, articles, manuals will be very appreciated.
  Thanks in advance guys!
  P.S.: it is ASP .NET MVC3 application (with Razor view engine).</p>