title: Display 5 Digit Zip in Devise
body: <p>I have a devise user model, and part of the information I ask of them is their 5 digit zip code. If their zip code is 08601, then, when they go to edit their user settings, they see their zip code as 8601, without the 0 in front. Is there a way to format the zip code that devise displays in the account settings (something like "%05d")? Here is what I have in that field so far: </p>
  
  <pre><code>&lt;div class="form-group"&gt;
    &lt;%= f.label :zip_code %&gt;&lt;br /&gt;
    &lt;%= f.text_field :zip_code, class: "form-control", autofocus: true %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Thanks</p>