<commit_before><div data-hook="admin_store_form_fields">

<div class="card mb-4">
  <div class="card-header">
    <h1 class="card-title mb-0 h5">
      <%= Spree.t(:basic_information) %>
    </h1>
  </div>
  <div class="card-body">
    <%= f.field_container :logo, class: ['form-group'] do %>
      <% if @store.logo.attached? && @store.logo.variable? %>
        <%= image_tag main_app.url_for(@store.logo.variant(resize: '244x104>')) %>
      <% elsif @store.logo.attached? && @store.logo.image? %>
        <%= image_tag main_app.url_for(@store.logo) %>
      <% end %>
      <%= f.field_container :logo, class: ['form-group'] do %>
        <%= f.label :logo, Spree.t(:logo) %><br />
        <%= f.file_field :logo %>
        <%= f.error_message_on :logo %>
      <% end %>
    <% end %>
    <%= f.field_container :mailer_logo, class: ['form-group'] do %>
      <% if @store.mailer_logo.attached? %>
        <%= image_tag main_app.url_for(@store.mailer_logo.variant(resize: '244x104>')) %>
      <% end %><commit_msg>Store form mailer logo fix for SVG files<commit_after><div data-hook="admin_store_form_fields">

<div class="card mb-4">
  <div class="card-header">
    <h1 class="card-title mb-0 h5">
      <%= Spree.t(:basic_information) %>
    </h1>
  </div>
  <div class="card-body">
    <%= f.field_container :logo, class: ['form-group'] do %>
      <% if @store.logo.attached? && @store.logo.variable? %>
        <%= image_tag main_app.url_for(@store.logo.variant(resize: '244x104>')) %>
      <% elsif @store.logo.attached? && @store.logo.image? %>
        <%= image_tag main_app.url_for(@store.logo) %>
      <% end %>
      <%= f.field_container :logo, class: ['form-group'] do %>
        <%= f.label :logo, Spree.t(:logo) %><br />
        <%= f.file_field :logo %>
        <%= f.error_message_on :logo %>
      <% end %>
    <% end %>
    <%= f.field_container :mailer_logo, class: ['form-group'] do %>
      <% if @store.mailer_logo.attached? && @store.mailer_logo.variable? %>
        <%= image_tag main_app.url_for(@store.mailer_logo.variant(resize: '244x104>')) %>
      <% end %>
{'fraction_non_alphanumeric': 0.2090692124105012, 'fraction_numerical': 0.016229116945107397, 'mean_word_length': 3.0153256704980844, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7446', 'n_tokens_mistral': 838, 'n_tokens_neox': 758, 'n_words': 126}