<commit_before>- content_for :title, t('.page-title', name: @project.name)

= render 'shared/header_big'

= render 'projects/project_header'

#new-contribution.section
  .w-container
    .w-row
      = simple_form_for [parent, @contribution], url: @create_url, html: { id: 'contribution_form', method: :post} do |form|
        = form.input :preferred_payment_engine, as: :hidden
        .w-col.w-col-7
          /.w-hidden-small.w-hidden-tiny.u-marginbottom-10.fontsize-largest = t('.title')
          .fontsize-base.fontweight-semibold.u-marginbottom-10.u-text-center-small-only.text-success-small-only = t('.choose_reward')
          - if current_user.credits > 0
            .card.card-message.zindex-10.u-radius.u-marginbottom-30.fontsize-small
              == t('.you_have_credits', credits: number_to_currency(current_user.credits))
          .w-form.back-reward-form
              = render 'devise/shared/alert'
              = form.input_field :referal_link, as: :hidden, input_html: { value: referal_link }
              = form.input :reward_id, as: :radio_buttons, collection: @rewards, input_html: {class: 'w-radio-input back-reward-radio-button'}, item_wrapper_class: 'w-radio w-clearfix back-reward-radio-reward', label: ''
        .w-col.w-col-5
          /= render 'faq_box'
          b.fontsize-base.u-marginbottom-20.u-text-center-small-only = t('.choose_value')
          br/
          p = t('.minimum_notice')
          .u-radius
            label
              - value = @contribution.project_value? ? (@contribution.project_value == @contribution.project_value.to_i ? @contribution.project_value.to_i : @contribution.project_value.gsub('.', ',')) : @contribution.project_value
              = form.input_field :project_value, value: value, as: :string, class: 'w-input back-reward-input-reward u-marginbottom-20', placeholder: t('.amount')
            - unless @project.recurring?
              .minimum-value
                p == t('.secured_transaction')
                - if @project.permalink.downcase != 'amigosdobem'
                  p == t('.minimum_disclaimer')
          - if (channel && channel.permalink == 'garupa') || @project.category_id == 11 # 11 = Garupa
            .fontsize-base.fontweight-semibold.u-margintop-20.u-marginbottom-10.u-text-center-small-only.text-success-small-only Contribuir para a Associação Garupa
            p.minimum-value Somos uma organização sem fins lucrativos que não cobra nenhuma taxa das ongs nem de seus apoiadores. Por isso deixamos esse espaço para quem quiser colaborar com qualquer valor e ajudar a gente a continuar com nosso trabalho.
            .platform_contribution_input
              = form.input_field :platform_value, value: @contribution.platform_value, as: :string, class: 'w-input  u-marginbottom-20'
              span R$ para a associação
            br/
          - elsif !channel
            .fontsize-base.fontweight-semibold.u-margintop-20.u-marginbottom-10.u-text-center-small-only.text-success-small-only
              = t('.contribute_to_platform')
            p.minimum-value
              = t('.contribute_to_platform_text')
            .platform_contribution_input
              = form.input_field :platform_value, value: @contribution.platform_value, as: :string, class: 'w-input  u-marginbottom-20'
              span = t('.amount_to_platform')
            br/
          a#submit.btn.btn-large.u-margintop-20 href="#"
            = t('.complete_payment')
          .fontsize-base.fontweight-semibold.u-margintop-20.u-marginbottom-10.u-text-center-small-only.text-success-small-only
            = t('.gift_card')
          p.minimum-value = t('.gift_card_text')
          .w-row.u-margintop-40

          a#submit_gift_card.btn.btn-large href="#" = t('.validate_gift_card')
<commit_msg>Contribuir para a plataforma liberada para projetos de canal<commit_after>- content_for :title, t('.page-title', name: @project.name)

= render 'shared/header_big'

= render 'projects/project_header'

#new-contribution.section
  .w-container
    .w-row
      = simple_form_for [parent, @contribution], url: @create_url, html: { id: 'contribution_form', method: :post} do |form|
        = form.input :preferred_payment_engine, as: :hidden
        .w-col.w-col-7
          /.w-hidden-small.w-hidden-tiny.u-marginbottom-10.fontsize-largest = t('.title')
          .fontsize-base.fontweight-semibold.u-marginbottom-10.u-text-center-small-only.text-success-small-only = t('.choose_reward')
          - if current_user.credits > 0
            .card.card-message.zindex-10.u-radius.u-marginbottom-30.fontsize-small
              == t('.you_have_credits', credits: number_to_currency(current_user.credits))
          .w-form.back-reward-form
              = render 'devise/shared/alert'
              = form.input_field :referal_link, as: :hidden, input_html: { value: referal_link }
              = form.input :reward_id, as: :radio_buttons, collection: @rewards, input_html: {class: 'w-radio-input back-reward-radio-button'}, item_wrapper_class: 'w-radio w-clearfix back-reward-radio-reward', label: ''
        .w-col.w-col-5
          /= render 'faq_box'
          b.fontsize-base.u-marginbottom-20.u-text-center-small-only = t('.choose_value')
          br/
          p = t('.minimum_notice')
          .u-radius
            label
              - value = @contribution.project_value? ? (@contribution.project_value == @contribution.project_value.to_i ? @contribution.project_value.to_i : @contribution.project_value.gsub('.', ',')) : @contribution.project_value
              = form.input_field :project_value, value: value, as: :string, class: 'w-input back-reward-input-reward u-marginbottom-20', placeholder: t('.amount')
            - unless @project.recurring?
              .minimum-value
                p == t('.secured_transaction')
                - if @project.permalink.downcase != 'amigosdobem'
                  p == t('.minimum_disclaimer')
          - if (channel && channel.permalink == 'garupa') || @project.category_id == 11 # 11 = Garupa
            .fontsize-base.fontweight-semibold.u-margintop-20.u-marginbottom-10.u-text-center-small-only.text-success-small-only Contribuir para a Associação Garupa
            p.minimum-value Somos uma organização sem fins lucrativos que não cobra nenhuma taxa das ongs nem de seus apoiadores. Por isso deixamos esse espaço para quem quiser colaborar com qualquer valor e ajudar a gente a continuar com nosso trabalho.
            .platform_contribution_input
              = form.input_field :platform_value, value: @contribution.platform_value, as: :string, class: 'w-input  u-marginbottom-20'
              span R$ para a associação
            br/
          - else
            .fontsize-base.fontweight-semibold.u-margintop-20.u-marginbottom-10.u-text-center-small-only.text-success-small-only
              = t('.contribute_to_platform')
            p.minimum-value
              = t('.contribute_to_platform_text')
            .platform_contribution_input
              = form.input_field :platform_value, value: @contribution.platform_value, as: :string, class: 'w-input  u-marginbottom-20'
              span = t('.amount_to_platform')
            br/
          a#submit.btn.btn-large.u-margintop-20 href="#"
            = t('.complete_payment')
          .fontsize-base.fontweight-semibold.u-margintop-20.u-marginbottom-10.u-text-center-small-only.text-success-small-only
            = t('.gift_card')
          p.minimum-value = t('.gift_card_text')
          .w-row.u-margintop-40

          a#submit_gift_card.btn.btn-large href="#" = t('.validate_gift_card')

{'fraction_non_alphanumeric': 0.13010371537350662, 'fraction_numerical': 0.010240252067743205, 'mean_word_length': 2.513837638376384, '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': '7659262', 'n_tokens_mistral': 2543, 'n_tokens_neox': 2441, 'n_words': 415}