<commit_before>extends ../layout
block content
    .panel.panel-info
        .panel-body
            h2.text-center Commit to yourself. Commit to a nonprofit.
            .row
                .col-xs-12.col-sm-6.col-sm-offset-3
                  p Give yourself external motivation and help nonprofits right away. Pledge a monthly donation to a nonprofit until you’ve earned either your Front End or Full Stack Development Certification.

            .row
                .col-xs-12.col-sm-6.col-sm-offset-3.text-center
                  h3 Pledge to #{displayName}&thinsp;
                  .button-spacer
                      a(href='#{imgUrl}' data-lightbox='img-enlarge' alt='#{imgAlt}')
                          img.img-responsive(src='#{imgUrl}' alt='#{imgAlt}')
                      p.large-p
                        = description
                    a(href='/commit/directory') ...or see other nonprofits
            .spacer
            form.form(name='commit')
                .hidden
                    input(type='text' value='#{name}' name='nonprofit')
                .row
                    .col-xs-12.col-sm-6.col-sm-offset-3
                        h3 Choose your goal:
                        .btn-group.btn-group-justified(data-toggle='buttons' role='group')
                            label.btn.btn-primary.btn-lg.active
                                input(type='radio' id=frontEndCert value=frontEndCert name='goal' checked="checked")
                                | Front End Development Certification (takes about 400 hours)
                            label.btn.btn-primary.btn-lg
                                input(type='radio' id=fullStackCert value=fullStackCert name='goal')
                                | Full Stack Development Certification (takes about 800 hours)
                .spacer
                .row
                    .col-xs-12.col-sm-6.col-sm-offset-3
                        h3 Choose your monthly pledge:
                        .btn-group.btn-group-justified(data-toggle='buttons' role='group')
                            label.btn.btn-success
                                input(type='radio' id='5-dollar-pledge' value='5' name='amount')
                                | $5 per month
                            label.btn.btn-success.active
                                input(type='radio' id='10-dollar-pledge' value='10' name='amount' checked="checked")
                                | $10 per month
                            label.btn.btn-success
                                input(type='radio' id='25-dollar-pledge' value='25' name='amount' checked="checked")
                                | $25 per month
                            label.btn.btn-success
                                input(type='radio' id='50-dollar-pledge' value='50' name='amount')
                                | $50 per month
                .spacer
                .row
                    .col-xs-12.col-sm-6.col-sm-offset-3.text-center
                        a#commit-btn-submit.btn.btn-block.btn-lg.signup-btn(href=donateUrl target='_blank') Commit (and open donate page)

            if pledge
                form.row(name='stop-pledge' action='/commit/stop-commitment' method='post')
                    .col-xs-12.col-sm-6.col-sm-offset-3.text-center
                        .button-spacer
                        button.btn.btn-block.btn-danger(name='submit' type='submit') Stop my current pledge
            else
                .row
                    .col-xs-12.col-sm-6.col-sm-offset-3.text-center
                        .button-spacer
                        a.btn.btn-block.btn-default(href='/') Maybe later
            .spacer
    script.<commit_msg>Fix default dollar amount incorrectly set<commit_after>extends ../layout
block content
    .panel.panel-info
        .panel-body
            h2.text-center Commit to yourself. Commit to a nonprofit.
            .row
                .col-xs-12.col-sm-6.col-sm-offset-3
                  p Give yourself external motivation and help nonprofits right away. Pledge a monthly donation to a nonprofit until you’ve earned either your Front End or Full Stack Development Certification.

            .row
                .col-xs-12.col-sm-6.col-sm-offset-3.text-center
                  h3 Pledge to #{displayName}&thinsp;
                  .button-spacer
                      a(href='#{imgUrl}' data-lightbox='img-enlarge' alt='#{imgAlt}')
                          img.img-responsive(src='#{imgUrl}' alt='#{imgAlt}')
                      p.large-p
                        = description
                    a(href='/commit/directory') ...or see other nonprofits
            .spacer
            form.form(name='commit')
                .hidden
                    input(type='text' value='#{name}' name='nonprofit')
                .row
                    .col-xs-12.col-sm-6.col-sm-offset-3
                        h3 Choose your goal:
                        .btn-group.btn-group-justified(data-toggle='buttons' role='group')
                            label.btn.btn-primary.btn-lg.active
                                input(type='radio' id=frontEndCert value=frontEndCert name='goal' checked="checked")
                                | Front End Development Certification (takes about 400 hours)
                            label.btn.btn-primary.btn-lg
                                input(type='radio' id=fullStackCert value=fullStackCert name='goal')
                                | Full Stack Development Certification (takes about 800 hours)
                .spacer
                .row
                    .col-xs-12.col-sm-6.col-sm-offset-3
                        h3 Choose your monthly pledge:
                        .btn-group.btn-group-justified(data-toggle='buttons' role='group')
                            label.btn.btn-success
                                input(type='radio' id='5-dollar-pledge' value='5' name='amount')
                                | $5 per month
                            label.btn.btn-success.active
                                input(type='radio' id='10-dollar-pledge' value='10' name='amount' checked="checked")
                                | $10 per month
                            label.btn.btn-success
                                input(type='radio' id='25-dollar-pledge' value='25' name='amount')
                                | $25 per month
                            label.btn.btn-success
                                input(type='radio' id='50-dollar-pledge' value='50' name='amount')
                                | $50 per month
                .spacer
                .row
                    .col-xs-12.col-sm-6.col-sm-offset-3.text-center
                        a#commit-btn-submit.btn.btn-block.btn-lg.signup-btn(href=donateUrl target='_blank') Commit (and open donate page)

            if pledge
                form.row(name='stop-pledge' action='/commit/stop-commitment' method='post')
                    .col-xs-12.col-sm-6.col-sm-offset-3.text-center
                        .button-spacer
                        button.btn.btn-block.btn-danger(name='submit' type='submit') Stop my current pledge
            else
                .row
                    .col-xs-12.col-sm-6.col-sm-offset-3.text-center
                        .button-spacer
                        a.btn.btn-block.btn-default(href='/') Maybe later
            .spacer
    script.
{'fraction_non_alphanumeric': 0.10835788909724083, 'fraction_numerical': 0.015804982587731047, 'mean_word_length': 1.1826951183864367, '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': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6621534', 'n_tokens_mistral': 2038, 'n_tokens_neox': 1878, 'n_words': 365}