diff --git a/app/views/admins/topic/organizations/_form_modal.html.erb b/app/views/admins/topic/organizations/_form_modal.html.erb index 3a32a34d7..1de43d727 100644 --- a/app/views/admins/topic/organizations/_form_modal.html.erb +++ b/app/views/admins/topic/organizations/_form_modal.html.erb @@ -29,16 +29,16 @@
<% logo_img = @organization.image %> - <% if logo_img.present? %> -
- - <%= file_field_tag(:image, accept: 'image/png,image/jpg,image/jpeg',style: "margin-left: 6px;", value: params[:image]) %> + <% if log_img.present? %> +
+ + <%= file_field_tag(:image, accept: 'image/png,image/jpg,image/jpeg',style: "opacity: 0", value: params[:image]) %>
<% else %> -
- - <%= file_field_tag(:image, accept: 'image/png,image/jpg,image/jpeg',style: "margin-left: 6px;", value: params[:image],required: true) %> +
+ + <%= file_field_tag(:image, accept: 'image/png,image/jpg,image/jpeg',required: true,style: "opacity: 0", value: params[:image]) %>
<% end %>