diff --git a/app/views/issues/_attributes.rhtml b/app/views/issues/_attributes.rhtml index 9fe7afc3..da6dd25f 100644 --- a/app/views/issues/_attributes.rhtml +++ b/app/views/issues/_attributes.rhtml @@ -31,8 +31,8 @@
-

<%= f.date_field :start_date, :size => 10, :disabled => !@issue.leaf? %>

-

<%= f.date_field :due_date, :size => 10, :disabled => !@issue.leaf? %>

+

<%= f.date_field :start_date, :size => 10, :disabled => !@issue.leaf? %><%= calendar_for('issue_start_date') if @issue.leaf? %>

+

<%= f.date_field :due_date, :size => 10, :disabled => !@issue.leaf? %><%= calendar_for('issue_due_date') if @issue.leaf? %>

<%= f.text_field :estimated_hours, :size => 3, :disabled => !@issue.leaf? %> <%= l(:field_hours) %>

<% if @issue.leaf? && Issue.use_field_for_done_ratio? %>

<%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %>