<% if @issue.safe_attribute? 'start_date' %>
<p id="start_date_area">
<%= f.text_field(:start_date, :size => 10, :required => @issue.required_attribute?('start_date')) %>
- <%= calendar_for('issue_start_date') if @issue.leaf? %>
+ <%= 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')) %>
- <%= calendar_for('issue_due_date') if @issue.leaf? %>
+ <%= calendar_for('issue_due_date') %>
</p>
<% end %>