<commit_before>.spacer
.col-xs-12
    script.
      var main = window.main || { init: [] };
      main.storyURL = !{JSON.stringify(storyURL)};
      main.storyTitle = !{JSON.stringify(storyTitle)};
      main.storyImage = !{JSON.stringify(storyImage)};
      main.storyMetaDescription = !{JSON.stringify(storyMetaDescription)};

    form.form-horizontal.control-label-story-submission#story-submission-form(name="submitStory")
        .col-xs-12
            .form-group
                .col-xs-12.col-md-1
                    label.control-label.control-label-story-submission(for='name') Link
                .col-xs-12.col-md-11
                    input#story-url.form-control(placeholder='Paste your link here', name='Link')
            .form-group
                .col-xs-12.col-md-1
                    label.control-label.control-label-story-submission(for='name') Title
                .col-xs-12.col-md-11

                    input#story-title.form-control(placeholder='Type a headline for your link here', name='Title', maxlength='90' ng-model='submitStory.title',required='required', autocomplete="off", ng-init='submitStory.title="#{storyTitle}"' autofocus)
                .col-xs-12.col-md-11.col-md-offset-1(ng-cloak, ng-show="submitStory.title.$error.required")
                    alert(type='danger')
                        span.ion-close-circled
                        |  A headline is required to submit.
            .form-group<commit_msg>Keep submitted url - closes #4319<commit_after>.spacer
.col-xs-12
    script.
      var main = window.main || { init: [] };
      main.storyURL = !{JSON.stringify(storyURL)};
      main.storyTitle = !{JSON.stringify(storyTitle)};
      main.storyImage = !{JSON.stringify(storyImage)};
      main.storyMetaDescription = !{JSON.stringify(storyMetaDescription)};

    form.form-horizontal.control-label-story-submission#story-submission-form(name="submitStory")
        .col-xs-12
            .form-group
                .col-xs-12.col-md-1
                    label.control-label.control-label-story-submission(for='name') Link
                .col-xs-12.col-md-11
                    input#story-url.form-control(name='Link', ng-model='submitStory.url', disabled="disabled", ng-init='submitStory.url="#{storyURL}"')
            .form-group
                .col-xs-12.col-md-1
                    label.control-label.control-label-story-submission(for='name') Title
                .col-xs-12.col-md-11

                    input#story-title.form-control(placeholder='Type a headline for your link here', name='Title', maxlength='90' ng-model='submitStory.title',required='required', autocomplete="off", ng-init='submitStory.title="#{storyTitle}"' autofocus)
                .col-xs-12.col-md-11.col-md-offset-1(ng-cloak, ng-show="submitStory.title.$error.required")
                    alert(type='danger')
                        span.ion-close-circled
                        |  A headline is required to submit.
            .form-group
{'fraction_non_alphanumeric': 0.14666666666666667, 'fraction_numerical': 0.018, 'mean_word_length': 2.1325678496868474, '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': '7376558', 'n_tokens_mistral': 944, 'n_tokens_neox': 868, 'n_words': 114}