<commit_before>Ext.define('devilry.extjshelpers.forms.Deadline', {
    extend: 'Ext.form.Panel',
    alias: 'widget.deadlineform',
    cls: 'widget-deadlineform',
    requires: [
        'devilry.extjshelpers.formfields.DateTimeField'
    ],

    flex: 6,

    layout: {
        type: 'vbox',
        align: 'stretch'
    },

    fieldDefaults: {
        labelAlign: 'top',
        labelWidth: 100,
        labelStyle: 'font-weight:bold'
    },

    items: [{
        name: "deadline",
        fieldLabel: 'Deadline',
        xtype: 'devilrydatetimefield',
        flex: 0,
        allowBlank: false
    }, {
        name: "text",
        fieldLabel: "Text",
        flex: 1,
        xtype: 'textarea'
    }],


    help: [
        '<strong>Choose a deadline</strong>. Students will be able to deliver after the deadline expires, however deliveries after the deadline will be clearly marked.',
        'The <strong>text</strong> is displayed to students when they view the deadline, and when they add deliveries on the deadline.'
    ]
});<commit_msg>apps.extjshelpers...Deadline: Deadline text formatting help (#180).<commit_after>Ext.define('devilry.extjshelpers.forms.Deadline', {
    extend: 'Ext.form.Panel',
    alias: 'widget.deadlineform',
    cls: 'widget-deadlineform',
    requires: [
        'devilry.extjshelpers.formfields.DateTimeField'
    ],

    flex: 6,

    layout: {
        type: 'vbox',
        align: 'stretch'
    },

    fieldDefaults: {
        labelAlign: 'top',
        labelWidth: 100,
        labelStyle: 'font-weight:bold'
    },

    items: [{
        name: "deadline",
        fieldLabel: 'Deadline',
        xtype: 'devilrydatetimefield',
        flex: 0,
        allowBlank: false
    }, {
        name: "text",
        fieldLabel: "Text",
        flex: 1,
        xtype: 'textarea'
    }],


    help: [
        '<strong>Choose a deadline</strong>. Students will be able to deliver after the deadline expires, however deliveries after the deadline will be clearly marked.',
        'The <strong>text</strong> is displayed to students when they view the deadline, and when they add deliveries on the deadline. The text is shown exactly as you see it in the text-box. No formatting of any kind is applied.'
    ]
});
{'fraction_non_alphanumeric': 0.11905819635717459, 'fraction_numerical': 0.006663705019991115, 'mean_word_length': 2.386466165413534, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '7592571', 'n_tokens_mistral': 693, 'n_tokens_neox': 656, 'n_words': 192}