From 3c58b8473d86f33b7542b6bcf403a3465f0449d1 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Tue, 25 Jul 2023 09:56:55 +0200 Subject: [PATCH] Fix icon in stock consume modal [SCI-8915] --- .../repositories/_consume_stock_modal_content.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/my_modules/repositories/_consume_stock_modal_content.html.erb b/app/views/my_modules/repositories/_consume_stock_modal_content.html.erb index dbd5d7f63..8a2801f38 100644 --- a/app/views/my_modules/repositories/_consume_stock_modal_content.html.erb +++ b/app/views/my_modules/repositories/_consume_stock_modal_content.html.erb @@ -1,5 +1,5 @@ -<%= form_with url: update_consumption_my_module_repository_path(@my_module, @repository, module_row_id: @module_repository_row), - method: :post, +<%= form_with url: update_consumption_my_module_repository_path(@my_module, @repository, module_row_id: @module_repository_row), + method: :post, html: { data: { remote: true } } do |f| %>
- +
<%= t('repository_stock_values.manage_modal.new_stock') %>