Resourcified documents.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-11-30 19:51:16 +00:00
parent 1a28bd8e7e
commit c3c2a4afe0
10 changed files with 59 additions and 63 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
<h2><%=l(:label_document)%></h2>
<% form_tag({:action => 'edit', :id => @document}, :class => "tabular") do %>
<%= render :partial => 'form' %>
<%= submit_tag l(:button_save) %>
<% labelled_form_for @document do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<p><%= submit_tag l(:button_save) %></p>
<% end %>