Skip to content

Instantly share code, notes, and snippets.

@stephenprater
Created March 26, 2013 15:10
Show Gist options
  • Save stephenprater/5246103 to your computer and use it in GitHub Desktop.
Save stephenprater/5246103 to your computer and use it in GitHub Desktop.
rails date formate
<div class="controls controls-row">
<input id="user_birthdate_2i" name="party[start_time(2i)]" type="hidden" value="4">
<input id="user_birthdate_3i" name="party[start_time(3i)]" type="hidden" value="12">
<input id="user_birthdate_4i" name="party[start_time(4i)]" type="hidden" value="0">
<input id="user_birthdate_5i" name="party[start_time(5i)]" type="hidden" value="0">
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment