Corrects error message position

pull/876/head
Hagen Schink 11 years ago committed by Christian Ratz
parent 240dbf306d
commit 59d94ee672
  1. 4
      app/views/project_types/_form.html.erb

@ -35,8 +35,6 @@ See doc/COPYRIGHT.rdoc for more details.
:project_type => ProjectType
%>
<%= error_messages_for 'project_type' %>
<h2>
<% if project_type.new_record? %>
<% html_title l("timelines.new_project_type") %>
@ -47,6 +45,8 @@ See doc/COPYRIGHT.rdoc for more details.
<% end %>
</h2>
<%= error_messages_for 'project_type' %>
<div class="box">
<p><%= f.text_field :name, :required => true %></p>
<p><%= f.check_box :allows_association %></p>

Loading…
Cancel
Save