Remove unnecessary spacing in work packages forms

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2822/head
Alex Coles 10 years ago
parent 144585231e
commit a8afd17561
  1. 5
      app/views/work_packages/_edit.html.erb
  2. 2
      app/views/work_packages/_form.html.erb

@ -67,17 +67,12 @@ See doc/COPYRIGHT.rdoc for more details.
:notes => work_package.journal_notes, :notes => work_package.journal_notes,
:form => f }) %> :form => f }) %>
<hr class="form--separator -invisible">
<% if authorize_for('timelog', 'edit') %> <% if authorize_for('timelog', 'edit') %>
<%= render :partial => 'time_entry', <%= render :partial => 'time_entry',
:locals => { :time_entry => time_entry, :locals => { :time_entry => time_entry,
:f => f } %> :f => f } %>
<% end %> <% end %>
<hr class="form--separator -invisible">
<%= render :partial => 'attachments/nested_form', <%= render :partial => 'attachments/nested_form',
:locals => { :prefix => 'work_package' } %> :locals => { :prefix => 'work_package' } %>

@ -97,8 +97,6 @@ See doc/COPYRIGHT.rdoc for more details.
<% end %> <% end %>
<% if work_package.new_record? %> <% if work_package.new_record? %>
<hr class="form--separator -invisible">
<%= render :partial => 'attachments/nested_form', locals: { open: true } %> <%= render :partial => 'attachments/nested_form', locals: { open: true } %>
<% end %> <% end %>

Loading…
Cancel
Save