<commit_before>.new-backer-page
  header.hero[style="background-image: url(#{image_url(@project.hero_image_url(:blur))})"]
    .row
      .large-10.columns.large-centered
        .name
          h3 = @project.name
      br
      .share-white
        .large-6.columns.large-centered
          = render 'projects/share'
  .row
    section.large-6.columns.large-centered.main
      .title
        h2 = t('.contribute')
      .subtitle
        p = t('.contribute_subtitle')
    = simple_form_for @backer, url: @create_url, html: { id: 'form-backer', class: 'custom' } do |form|
      .large-8.columns.large-centered
        .row.collapse
          .large-2.small-2.columns
            span.prefix $
          .large-8.small-8.columns
            = form.number_field :value, required: true, label: false, autocomplete: 'off', min: 10, data: { rewards: @rewards.map{|r| {id: r.id, minimum_value: r.minimum_value.to_i} }.to_json }, class: 'with-prefix with-postfix'
          .large-2.small-2.columns
            span.postfix .00
      .row
        = form.association :reward_id, as: :radio_buttons, label: false, label_html: { class: 'large-4 small-4' }, collection: @rewards do |builder|
          - if builder.object.any?
            - for reward in builder.object
              .large-6.small-6.columns
                .reward-option.row[class="#{'selected' if form.object.reward_id == reward.id }"]
                  .large-2.small-2.columns.radio
                    = form.radio_button :reward_id, reward.id
                  .large-10.small-10.columns
                    = form.label "reward_id#{'_' if reward.id.present?}#{reward.id}" do
                      .minimum-value
                        = reward.minimum_value > 0 ? reward.display_minimum + ' or more' : I18n.t('reward.dont_want')
                      p.description 
                        = h reward.description
                      - if reward.sold_out?
                        .sold-out
                          = I18n.t('reward.sold_out')

      = form.input :anonymous, as: :boolean
      .anonymous-warning.hide
        .alert-box
          = render 'anonymous_warning'
      = form.input :short_note
      .text-center
        = form.button :submit, t('.submit'), disable_with: t('words.sending')<commit_msg>Adjust projects/backers#new elements for non-responsive<commit_after>.new-backer-page
  header.hero[style="background-image: url(#{image_url(@project.hero_image_url(:blur))})"]
    .row
      .large-10.columns.large-centered
        .name
          h3 = @project.name
      br
      .share-white
        .large-6.columns.large-centered
          = render 'projects/share'
  .row
    section.large-6.columns.large-centered.main
      .title
        h2 = t('.contribute')
      .subtitle
        p = t('.contribute_subtitle')
    = simple_form_for @backer, url: @create_url, html: { id: 'form-backer', class: 'custom' } do |form|
      .large-8.columns.large-centered
        .row.collapse
          .large-2.small-2.columns
            span.prefix $
          .large-8.small-8.columns
            = form.number_field :value, required: true, label: false, autocomplete: 'off', min: 10, data: { rewards: @rewards.map{|r| {id: r.id, minimum_value: r.minimum_value.to_i} }.to_json }, class: 'with-prefix with-postfix'
          .large-2.small-2.columns
            span.postfix .00
      .row
        .large-12.columns
          = form.association :reward_id, as: :radio_buttons, label: false, label_html: { class: 'large-4 small-4' }, collection: @rewards do |builder|
            - if builder.object.any?
              - for reward in builder.object
                .large-6.small-6.columns
                  .reward-option.row[class="#{'selected' if form.object.reward_id == reward.id }"]
                    .large-2.small-2.columns.radio
                      = form.radio_button :reward_id, reward.id
                    .large-10.small-10.columns
                      = form.label "reward_id#{'_' if reward.id.present?}#{reward.id}" do
                        .minimum-value
                          = reward.minimum_value > 0 ? reward.display_minimum + ' or more' : I18n.t('reward.dont_want')
                        p.description
                          = h reward.description
                        - if reward.sold_out?
                          .sold-out
                            = I18n.t('reward.sold_out')

      = form.input :anonymous, as: :boolean
      .anonymous-warning.hide
        .alert-box
          = render 'anonymous_warning'
      = form.input :short_note
      .text-center
        = form.button :submit, t('.submit'), disable_with: t('words.sending')
{'fraction_non_alphanumeric': 0.13113349046496678, 'fraction_numerical': 0.01414184701092779, 'mean_word_length': 1.7458823529411764, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6605843', 'n_tokens_mistral': 1482, 'n_tokens_neox': 1414, 'n_words': 258}