From 3c6526c60a5aa0057520cb96178688451262fda8 Mon Sep 17 00:00:00 2001 From: Diego Steiner Date: Fri, 29 Dec 2023 08:55:36 +0000 Subject: [PATCH] fix: cannot get signed id error --- app/views/manage/organisations/_form.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/manage/organisations/_form.html.slim b/app/views/manage/organisations/_form.html.slim index 0304f6a5a..2ba089f17 100644 --- a/app/views/manage/organisations/_form.html.slim +++ b/app/views/manage/organisations/_form.html.slim @@ -6,7 +6,7 @@ = f.text_field :slug if current_user.role_admin? = f.text_field :name div[v-pre]= f.text_area :address, rows: 4 - = f.file_field :logo, help: organisation.logo.attached? && image_tag(organisation.logo, width: 120) + = f.file_field :logo, help: organisation.logo.present? && organisation.logo.persisted? && image_tag(organisation.logo, width: 120) = f.collection_select :locale, Organisation.locales, :first, :first = f.fields_for :settings, @organisation.settings || OrganisationSettings.new do |sf|