summaryrefslogtreecommitdiffstats
path: root/app/views/issues/_attributes.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/_attributes.html.erb')
-rw-r--r--app/views/issues/_attributes.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/_attributes.html.erb b/app/views/issues/_attributes.html.erb
index 63782d237..960256e44 100644
--- a/app/views/issues/_attributes.html.erb
+++ b/app/views/issues/_attributes.html.erb
@@ -52,14 +52,14 @@
<% if @issue.safe_attribute? 'start_date' %>
<p id="start_date_area">
- <%= f.text_field(:start_date, :size => 10, :required => @issue.required_attribute?('start_date')) %>
+ <%= f.date_field(:start_date, :size => 10, :required => @issue.required_attribute?('start_date')) %>
<%= calendar_for('issue_start_date') %>
</p>
<% end %>
<% if @issue.safe_attribute? 'due_date' %>
<p id="due_date_area">
- <%= f.text_field(:due_date, :size => 10, :required => @issue.required_attribute?('due_date')) %>
+ <%= f.date_field(:due_date, :size => 10, :required => @issue.required_attribute?('due_date')) %>
<%= calendar_for('issue_due_date') %>
</p>
<% end %>