From 77f4c02aef1479041a8cbd8a7ba80e661d9e6268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 13 Aug 2024 07:43:53 +0200 Subject: [PATCH] Formatting --- app/views/dmsf/copymove.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/dmsf/copymove.html.erb b/app/views/dmsf/copymove.html.erb index 0c499d3f..e6a975f3 100644 --- a/app/views/dmsf/copymove.html.erb +++ b/app/views/dmsf/copymove.html.erb @@ -18,7 +18,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. %> -<%= render partial: '/dmsf/path', locals: { folder: nil, filename: nil, title: nil } %> +<%= render partial: '/dmsf/path', locals: { folder: @folder, filename: nil, title: nil } %> <% if @projects.present? || @fast_links %> <%= form_tag(entries_operations_dmsf_path, id: 'copyForm') do %> @@ -49,7 +49,7 @@ <%= submit_tag l(:button_copy), id: 'copy_button', data: { cy: "button__copy--dmsf" } %> <%# TODO: Lock and proper permissions %> <% if User.current.allowed_to?(:folder_manipulation, @project) && - User.current.allowed_to?(:file_manipulation, @project)%> + User.current.allowed_to?(:file_manipulation, @project) %> <%= submit_tag l(:button_move), id: 'move_button', data: { cy: "button__move--dmsf" } %> <% end %>