From a4c1f1cce3f9b5ffc7fb43b62867274b6a5dd0cf Mon Sep 17 00:00:00 2001 From: KseniaGovorun Date: Mon, 2 Dec 2024 11:24:56 +0200 Subject: [PATCH] Changed new page --- app/views/account/calculators/partials/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/account/calculators/partials/_form.html.erb b/app/views/account/calculators/partials/_form.html.erb index 87d6d8b9e..84a53a70c 100644 --- a/app/views/account/calculators/partials/_form.html.erb +++ b/app/views/account/calculators/partials/_form.html.erb @@ -5,6 +5,8 @@ Calculator <%= f.input :en_name, label: "Calculator Name:", class: 'form-control' %> <%= f.input :uk_name, label: "Uk Calculator Name:", class: 'form-control' %> + <%= f.label :logo_picture, "Upload logo:", class: "form-label d-block" %> + <%= f.file_field :logo_picture, accept: "image/jpeg, image/png", class: "file-input mb-3" %> @@ -30,8 +32,6 @@ - <%= f.label :logo_picture, "Upload logo:", class: "form-label d-block" %> - <%= f.file_field :logo_picture, accept: "image/jpeg, image/png", class: "file-input mb-3" %>