<%= form.label :logo, class: 'block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2' %>
<%= t('company_logo') %>
<% if @account.logo.attached? %>
<%= image_tag @account.logo.variant(:thumb), class: "w-16 h-16 object-contain border border-gray-300 rounded" %>

Current logo

<% end %>
<%= form.label :logo, "Upload Logo", class: "label" %> <%= form.file_field :logo, accept: "image/png,image/jpeg,image/gif,image/svg+xml", class: "file-input file-input-bordered w-full" %>
<%= t('personalization_settings.logo_form.logo_help_html').html_safe %>
<% if @account.logo.attached? %>
<% end %>
<%= form.button button_title(title: t('save'), disabled_with: t('saving')), class: 'base-button' %>