From e58f91fbd79dfc4dcf452a5ff3b82644203d0e46 Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Tue, 24 Sep 2013 14:23:29 +0200 Subject: [PATCH] path partial view removed --- app/views/dmsf/edit_root.html.erb | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/app/views/dmsf/edit_root.html.erb b/app/views/dmsf/edit_root.html.erb index 9bfd70b7..80921403 100644 --- a/app/views/dmsf/edit_root.html.erb +++ b/app/views/dmsf/edit_root.html.erb @@ -3,23 +3,25 @@
-

<%= render(:partial => "path", :locals => {:path => []}) %>

+

+ <%= link_to l(:link_documents), {:controller => 'dmsf', :action => 'show', :id => @project } %> +

-<%= form_for(@project, :url => {:action => "save_root", :id => @project}, - :html => {:method=>:post}) do |f| %> -
-

- <%= label_tag("project_dmsf_description", l(:label_description) + ":") %> -

-
- <%= f.text_area(:dmsf_description, :rows => 15, :class => "wiki-edit") %> -
-
- <%= submit_tag(l(:submit_save)) %> +<%= form_for(@project, :url => {:action => 'save_root', :id => @project}, + :html => {:method=>:post}) do |f| %> +
+

+ <%= label_tag('project_dmsf_description', "#{l(:label_description)}:") %> +

+
+ <%= f.text_area(:dmsf_description, :rows => 15, :class => 'wiki-edit') %> +
+
+ <%= submit_tag(l(:submit_save)) %> <% end %> -<%= wikitoolbar_for "dmsf_folder_description" %> +<%= wikitoolbar_for 'dmsf_folder_description' %> <% content_for :header_tags do %> - <%= stylesheet_link_tag "dmsf", :plugin => "redmine_dmsf" %> + <%= stylesheet_link_tag 'dmsf', :plugin => 'redmine_dmsf' %> <% end %>