mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-30 20:55:17 +01:00
Set date selectors for due date to start at 2005 (can't think of any reason someone would want to set a due date in the past).
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@33 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
49b2ad4dc7
commit
cd1984ad22
3 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@
|
|||
<%= options_from_collection_for_select(@projects, "id", "name" ) %>
|
||||
</select><br />
|
||||
<label for="new_item_due">Due</label><br />
|
||||
<%= date_select( "new_item", "due", :include_blank => true ) %>
|
||||
<%= date_select( "new_item", "due", :include_blank => true, :start_year => 2005 ) %>
|
||||
<br />
|
||||
<input type="submit" value="Add item">
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
</select>
|
||||
<br />
|
||||
<label for="new_item_due">Due</label><br />
|
||||
<%= date_select( "new_item", "due", :include_blank => true ) %>
|
||||
<%= date_select( "new_item", "due", :include_blank => true, :start_year => 2005 ) %>
|
||||
<br />
|
||||
<input type="submit" value="Add item">
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -36,6 +36,6 @@
|
|||
</select>
|
||||
<br />
|
||||
<label for="item_due" tab>Due</label><br />
|
||||
<%= date_select( "item", "due", :include_blank => true, "tabindex" => 5 ) %>
|
||||
<%= date_select( "item", "due", :include_blank => true, :start_year => 2005, "tabindex" => 5 ) %>
|
||||
<br />
|
||||
<br />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue