[#4177] Refactored new Contract form to be used with editing a contract.

This commit is contained in:
Eric Davis committed 2010-06-21 14:25:48 -07:00
1 parent 5bdbf4e75f
commit c6783f98fd
8 files changed
+82 -29

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
<%= content_tag(:h2, h(resource.name)) %>
<% semantic_form_for resource, :url => contract_path(@project, resource), :html => {:class => 'tabular'} do |form| %>
<%= render :partial => 'form', :object => form %>
<% end %>
<% content_for(:header_tags) do %>
<%= stylesheet_link_tag "redmine_contracts", :plugin => "redmine_contracts", :media => "screen" %>
<% end %>