title: What's a better approach to toggle between view and edit modes for a page?
body: <p>I am developing a user profile page, which has two modes - view and edit. The page starts in the view mode when it first loads. To enter the edit mode, user needs to click on the "edit" button and then the page becomes a form. </p>
  
  <p>I am thinking to include, in the html, the markup for both the view mode and the edit mode (in div) and hide the edit div to begin with. Once user clicks on the "edit" button, use JQuery to hide the view div and show the edit div.</p>
  
  <p>Is this approach reasonable? Would it lead to any undesirable side-effects? Feel free to suggest any better approaches, if any.</p>
  
  <p>By the way, for the server-side I am using Django</p>