<commit_before><div class="omega two columns">
  <%= f.field_container :product_based do %>
    <%= f.label :product_based, t(:product_based) %>
    <%= f.check_box :product_based %>
    <%= f.error_message_on :product_based %>
  <% end %>
</div>
<commit_msg>disable checkbox if checked on edit<commit_after><div class="omega two columns">
  <%= f.field_container :product_based do %>
    <%= f.label :product_based, t(:product_based) %>
    <% if @option_type.product_based %>
      <%= f.check_box :product_based, { :disabled => 'disabled' } %>
    <% else %>
      <%= f.check_box :product_based %>
    <% end %>
    <%= f.error_message_on :product_based %>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.18088235294117647, 'fraction_numerical': 0.0, 'mean_word_length': 3.8297872340425534, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 22, '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': '2769673', 'n_tokens_mistral': 259, 'n_tokens_neox': 229, 'n_words': 45}