fix date format on edit

This commit is contained in:
James Turk 2012-06-30 22:02:23 -04:00
parent bc7a5da638
commit a65b99d505

View File

@ -131,7 +131,7 @@
<input type="text" class="span3" name="name" value="{{event.name}}"
placeholder="RAW/Smackdown/PPV Name">
<label>Date</label>
<input type="text" class="span3" name="date" value="{{event.date}}" placeholder="YYYY-MM-DD">
<input type="text" class="span3" name="date" value="{{event.date|date:"Y-m-d"}}" placeholder="YYYY-MM-DD">
<div id="all-matches"> </div>
<div>
<button class="btn" id="addMatch">Add Match</button>