]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up app/views/issues/_attributes.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 10 May 2013 06:44:45 +0000 (06:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 10 May 2013 06:44:45 +0000 (06:44 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11823 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_attributes.html.erb

index 9b4c508cdbb4f334b5bab786aa3ab3ec3124c34d..26c133a79a3a4ed6aef32a0d3229a505b4cb67e2 100644 (file)
 <% 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' %>