[#4567] Replace inline errors with regular Redmine error messages

This commit is contained in:
Eric Davis
2010-09-29 09:50:18 -07:00
parent 2a60d283a4
commit f3fc82d9dc
6 changed files with 12 additions and 1 deletions
+2
View File
@@ -6,6 +6,8 @@
<%= content_tag(:h2, h(l(:text_edit_contract_name, :name => resource.name))) %>
<%= error_messages_for 'contract' %>
<% semantic_form_for resource, :url => contract_path(@project, resource), :html => {:class => 'tabular'} do |form| %>
<%= render :partial => 'form', :object => form, :locals => {:cancel_path => contract_path(@project, resource)} %>
<% end %>