<commit_before>= content_for :title do
  Container: #{@container.name}

= simple_form_for @container, url: plugin('object_storage').container_path(@container.name), method: :put, remote: request.xhr?, html: { data: { modal: true } } do |f|
  %div{class: modal? ? 'modal-body' : ''}
    %table.table
      %tbody
        %tr
          %th Object count
          %td= @container.object_count
        %tr
          %th Total size
          %td= format_bytes(@container.bytes_used)<commit_msg>quota count<commit_after>= content_for :title do
  Container: #{@container.name}

= simple_form_for @container, url: plugin('object_storage').container_path(@container.name), method: :put, remote: request.xhr?, html: { data: { modal: true } } do |f|
  %div{class: modal? ? 'modal-body' : ''}
    %table.table
      %tbody
        %tr
          %th Object count
          %td= @container.object_count
        %tr
          %th Total size
          %td= format_bytes(@container.bytes_used)
          %tr
            %th
              Quota Object Count
              = hidden_field_tag 'metadata[keys][]', 'Quota-Count', placeholder: 'Key'
            %td
              .row
                .col-md-6
                  = text_field_tag 'metadata[values][]', @container.object_count_quota, placeholder: 'Value'
{'fraction_non_alphanumeric': 0.13580246913580246, 'fraction_numerical': 0.0007716049382716049, 'mean_word_length': 2.3776041666666665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '681039', 'n_tokens_mistral': 395, 'n_tokens_neox': 391, 'n_words': 92}