<commit_before>.container
  .page-header
    %h1.text-center
      - if current_user.supporter?
        Thanks for being a supporter
      - else
        Become a supporter
  .row.pricing.row-centered
    = form_tag (current_user.supporter? ? supporter_path(current_user) : supporters_path), id: "supporter-signup-form", method: (current_user.supporter? ? :patch : :post) do
      = hidden_field_tag "stripeToken"
      = hidden_field_tag :plan_id

      .col-xs-3.col-centered
        %ul.plan.plan1
          %li.plan-name
            = plan_image_tag(:morph_basic)
            Basic
          %li.plan-price
            %strong $14
            \/ month
          %li.plan-reason
            Supporters keep morph.io open and running and available to all
          %li
            %strong Feel
            the warm and fuzzies
          %li
            %strong Shows
            your support publically
          %li
            %strong Forum
            Support
          %li.plan-action
            = render partial: "plan_action", locals: { description: "Basic supporter",
                                                       amount: 1400,
                                                       plan_id: "morph_basic" }

      .col-xs-3.col-centered
        %ul.plan.plan2.featured
          %li.plan-name
            = plan_image_tag(:morph_standard)
            Standard
          %li.plan-price
            %strong $24
            \/ month
          %li.plan-reason
            Support continued development of the open-source software that powers morph.io
          %li
            %strong Feel
            the warm and fuzzies
          %li
            %strong Be featured
            on the landing page
          %li
            %strong Forum
            Support
          %li.plan-action
            = render partial: "plan_action", locals: { description: "Standard supporter",
                                                       amount: 2400,
                                                       plan_id: "morph_standard" }

      .col-xs-3.col-centered
        %ul.plan.plan3
          %li.plan-name
            = plan_image_tag(:morph_advanced)
            Advanced
          %li.plan-price
            %strong $149
            \/ month
          %li.plan-reason
            Rely on morph.io for your business or not-for-profit? Priority technical support
            to get you answers and fixes quickly
          %li
            %strong Feel
            the warm and fuzzies
          %li
            %strong Be featured
            on the landing page
          %li
            %strong Priority
            technical support
          %li.plan-action
            = render partial: "plan_action", locals: { description: "Advanced supporter",
                                                       amount: 14900,
                                                       plan_id: "morph_advanced" }

  .row.one-time-contribution
    %p
      Monthly contribution not right for you?
      = link_to 'Make a one time contribution', '#supporter-one-time-form',
        data: {toggle: "collapse"}
    = form_tag create_one_time_supporters_path, id: "supporter-one-time-form", class: 'form-inline collapse'  do
      = hidden_field_tag "stripeTokenOneTime"
      .form-group
        = label_tag 'amount', 'Amount (in US dollars)', class: 'sr-only'
        .input-group
          .input-group-addon $
          = text_field_tag 'amount', nil, placeholder: 'Amount', class: 'form-control'
      = button_tag "Contribute", class: "btn btn-default",
        data: {key: Rails.configuration.stripe[:publishable_key],
              email: current_user.email}

.plan-questions
  .container
    .row
      .col-md-6.col-md-offset-3
        %h3 What is priority technical support?
        %p Lorem ipsum...
        %h3 Is this tax deductible?
        %p
          If you are an Australian resident and you are supporting at the "..." or
          "..." level your regular donation is tax-deductible.
        %h3 I don't see a supporter level that fits my budget
        %p
          These are our standard prices, but we're more than happy to figure out
          something that's right for you. Feel free to
          = mail_to '<EMAIL>', 'drop us a line'
          and tell us
          what you're looking for.
        %p
          If you would like to pick your own support level or make
          a one-off donation to the OpenAustralia Foundation then please visit
          the
          #{link_to 'OpenAustralia Foundation donate page', "https://www.openaustraliafoundation.org.au/donate/"}.<commit_msg>Remove the question about non-standard support because we've added one time contributions<commit_after>.container
  .page-header
    %h1.text-center
      - if current_user.supporter?
        Thanks for being a supporter
      - else
        Become a supporter
  .row.pricing.row-centered
    = form_tag (current_user.supporter? ? supporter_path(current_user) : supporters_path), id: "supporter-signup-form", method: (current_user.supporter? ? :patch : :post) do
      = hidden_field_tag "stripeToken"
      = hidden_field_tag :plan_id

      .col-xs-3.col-centered
        %ul.plan.plan1
          %li.plan-name
            = plan_image_tag(:morph_basic)
            Basic
          %li.plan-price
            %strong $14
            \/ month
          %li.plan-reason
            Supporters keep morph.io open and running and available to all
          %li
            %strong Feel
            the warm and fuzzies
          %li
            %strong Shows
            your support publically
          %li
            %strong Forum
            Support
          %li.plan-action
            = render partial: "plan_action", locals: { description: "Basic supporter",
                                                       amount: 1400,
                                                       plan_id: "morph_basic" }

      .col-xs-3.col-centered
        %ul.plan.plan2.featured
          %li.plan-name
            = plan_image_tag(:morph_standard)
            Standard
          %li.plan-price
            %strong $24
            \/ month
          %li.plan-reason
            Support continued development of the open-source software that powers morph.io
          %li
            %strong Feel
            the warm and fuzzies
          %li
            %strong Be featured
            on the landing page
          %li
            %strong Forum
            Support
          %li.plan-action
            = render partial: "plan_action", locals: { description: "Standard supporter",
                                                       amount: 2400,
                                                       plan_id: "morph_standard" }

      .col-xs-3.col-centered
        %ul.plan.plan3
          %li.plan-name
            = plan_image_tag(:morph_advanced)
            Advanced
          %li.plan-price
            %strong $149
            \/ month
          %li.plan-reason
            Rely on morph.io for your business or not-for-profit? Priority technical support
            to get you answers and fixes quickly
          %li
            %strong Feel
            the warm and fuzzies
          %li
            %strong Be featured
            on the landing page
          %li
            %strong Priority
            technical support
          %li.plan-action
            = render partial: "plan_action", locals: { description: "Advanced supporter",
                                                       amount: 14900,
                                                       plan_id: "morph_advanced" }

  .row.one-time-contribution
    %p
      Monthly contribution not right for you?
      = link_to 'Make a one time contribution', '#supporter-one-time-form',
        data: {toggle: "collapse"}
    = form_tag create_one_time_supporters_path, id: "supporter-one-time-form", class: 'form-inline collapse'  do
      = hidden_field_tag "stripeTokenOneTime"
      .form-group
        = label_tag 'amount', 'Amount (in US dollars)', class: 'sr-only'
        .input-group
          .input-group-addon $
          = text_field_tag 'amount', nil, placeholder: 'Amount', class: 'form-control'
      = button_tag "Contribute", class: "btn btn-default",
        data: {key: Rails.configuration.stripe[:publishable_key],
              email: current_user.email}

.plan-questions
  .container
    .row
      .col-md-6.col-md-offset-3
        %h3 What is priority technical support?
        %p Lorem ipsum...
        %h3 Is this tax deductible?
        %p
          If you are an Australian resident and you are supporting at the "..." or
          "..." level your regular donation is tax-deductible.
{'fraction_non_alphanumeric': 0.0810376492194674, 'fraction_numerical': 0.007231404958677686, 'mean_word_length': 1.423643949930459, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7038863', 'n_tokens_mistral': 2308, 'n_tokens_neox': 2214, 'n_words': 654}