<commit_before>extends ../layout
block content
    script.
        var challengeName = 'Field Guide View';
    .col-xs-12.col-sm-12.col-md-12
        .panel.panel-info
            .panel-heading.text-center
                h1= title
            .panel-body
                .row
                    .col-xs-12
                        div!= description
                .spacer
                .spacer
                .spacer
                .col-xs-12.col-sm-6.col-sm-offset-3
                    .text-center
                        .next-fieldGuide-button.btn.btn-primary.btn-big.btn-block Next article (ctrl + enter)
                        .ten-pixel-break
                        #showAllButton.btn.btn-info.btn-big.btn-block Show me all articles
                .spacer
                .row
                    .col-xs-12.text-center
                        if !user
                            a.btn.btn-cta.signup-btn.btn-primary(href="/login") Start learning to code (it's free)
            .spacer
    #show-all-dialog.modal(tabindex='-1')
        .modal-dialog.animated.fadeInUp.fast-animation
            .modal-content
                .modal-header.all-list-header Field Guide Articles
                    a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
                .modal-body
                    include ../partials/field-guide
    #fieldGuideId.hidden= fieldGuideId
    script.
        $(document).ready(function() {
            $('body').keydown(function(e) {
                if (e.ctrlKey && e.keyCode == 13) {
                    $('.next-field-guide-button').click();
                }
            });
        });<commit_msg>fix the field guide<commit_after>extends ../layout
block content
    script.
        var challengeName = 'Field Guide View';
    .col-xs-12.col-sm-12.col-md-12
        .panel.panel-info
            .panel-heading.text-center
                h1= title
            .panel-body
                .row
                    .col-xs-12
                        div!= description
                .spacer
                .spacer
                .spacer
                .col-xs-12.col-sm-6.col-sm-offset-3
                    .text-center
                        .next-field-guide-button.btn.btn-primary.btn-big.btn-block Next article (ctrl + enter)
                        .ten-pixel-break
                        #showAllButton.btn.btn-info.btn-big.btn-block Show me all articles
                .spacer
                .row
                    .col-xs-12.text-center
                        if !user
                            a.btn.btn-cta.signup-btn.btn-primary(href="/login") Start learning to code (it's free)
            .spacer
    #show-all-dialog.modal(tabindex='-1')
        .modal-dialog.animated.fadeInUp.fast-animation
            .modal-content
                .modal-header.all-list-header Field Guide Articles
                    a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
                .modal-body
                    include ../partials/field-guide
    #fieldGuideId.hidden= fieldGuideId
    script.
        $(document).ready(function() {
            $('body').keydown(function(e) {
                if (e.ctrlKey && e.keyCode == 13) {
                    $('.next-field-guide-button').click();
                }
            });
        });
{'fraction_non_alphanumeric': 0.12033442818751866, 'fraction_numerical': 0.010749477455957002, 'mean_word_length': 1.1109010712035288, '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': '5258183', 'n_tokens_mistral': 981, 'n_tokens_neox': 894, 'n_words': 149}