code layout clean up app/views/issues/_attributes.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11823 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
72a46e53ed
commit
8a87ff96f9
|
@ -47,11 +47,19 @@
|
|||
<% end %>
|
||||
|
||||
<% if @issue.safe_attribute? 'start_date' %>
|
||||
<p><%= f.text_field :start_date, :size => 10, :disabled => !@issue.leaf?, :required => @issue.required_attribute?('start_date') %><%= calendar_for('issue_start_date') if @issue.leaf? %></p>
|
||||
<p>
|
||||
<%= f.text_field(:start_date, :size => 10, :disabled => !@issue.leaf?,
|
||||
:required => @issue.required_attribute?('start_date')) %>
|
||||
<%= calendar_for('issue_start_date') if @issue.leaf? %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<% if @issue.safe_attribute? 'due_date' %>
|
||||
<p><%= f.text_field :due_date, :size => 10, :disabled => !@issue.leaf?, :required => @issue.required_attribute?('due_date') %><%= calendar_for('issue_due_date') if @issue.leaf? %></p>
|
||||
<p>
|
||||
<%= f.text_field(:due_date, :size => 10, :disabled => !@issue.leaf?,
|
||||
:required => @issue.required_attribute?('due_date')) %>
|
||||
<%= calendar_for('issue_due_date') if @issue.leaf? %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<% if @issue.safe_attribute? 'estimated_hours' %>
|
||||
|
|
Loading…
Reference in New Issue