<commit_before>
<md-content class="md-no-momentum">
    <h1> Add new lesson </h1>
    <br/>
    <p> Please enter the necessary information about your session </p>
    <br>
    <form name="lessonForm">
        <div layout="row">


    <md-sidenav md-selected-nav-item="currentNavItem" md-component-id="left" md-is-locked-open="$mdMedia('gt-sm')" class="md-sidenav-left md-whiteframe-4dp" md-component-id="left">
        <md-list>
            <md-list-item ng-click="$ctrl.redirectEditProfile()">Edit Profile </md-list-item>
            <md-list-item ng-click="$ctrl.redirectYourInbox()">Your inbox</md-list-item>
            <md-list-item ng-click="$ctrl.redirectYourAppointmentPage()"> Appointment Page</md-list-item>
            <md-list-item ng-click="$ctrl.redirectSearchATeacher()"> Search a Teacher</md-list-item>
            <md-list-item ng-click="$ctrl.redirectRateATeacher()"> Rate a Teacher </md-list-item>
            <md-list-item ng-click="$ctrl.redirectCancelALesson()"> Cancel a Lesson </md-list-item>
            <md-list-item ng-click="$ctrl.newLesson()"> Add New Time Slot</md-list-item>
        </md-list>
        <md-content>

        </md-content>
    </md-sidenav>



            <md-input-container class="md-icon-float md-block">
                <label>Instrument(s)</label>
                <md-select name="type" ng-model="$ctrl.lesson.instrument_list" multiple required>
                    <md-option value="piano">Piano</md-option>
                    <md-option value="guitar">Guitar</md-option>
                    <md-option value="violin">Violin</md-option>
                    <md-option value="recorder">Redcorder</md-option>
                    <md-option value="drums">Drums</md-option>
                    <md-option value="transverse_flute">Transverse flute</md-option>
                    <md-option value="clarinet">Clarinet</md-option>
                    <md-option value="trumpet">Trumpet</md-option>
                    <md-option value="saxophone">Saxophone</md-option>
                </md-select>
            </md-input-container>
            <md-input-container class="md-icon-float md-block">
                <label>Date</label>
                <md-datepicker ng-model="$ctrl.lesson.start_day" required></md-datepicker>
            </md-input-container>
        </div>
        <div layout="row">
            <md-input-container class="md-icon-float md-block">
                <label>Start time</label>
                <input ng-model="$ctrl.lesson.start_time" type="time" required class="form-control"
                       placeholder="08:00">
            </md-input-container>
            <md-input-container class="md-icon-float md-block">
                <label>End time</label>
                <input ng-model="$ctrl.lesson.end_time" type="time" required class="form-control"
                       placeholder="10:00">
            </md-input-container>
            <md-input-container class="md-block">
                <label>Session frequency</label>
                <md-select name="type" ng-model="$ctrl.lesson.frequency" required>
                    <md-option value="onetime">one time</md-option>
                    <md-option value="weekly">weekly</md-option>
                    <md-option value="biweekly">bi weekly</md-option>
                </md-select>
            </md-input-container>

        </div>
        <div>
            <md-button class="md-raised" ng-click="$ctrl.cancel()">Cancel</md-button>
            <md-button ng-disabled="!lessonForm.$valid" ng-click="$ctrl.save()" class="md-raised md-primary">Add new
                time slot
            </md-button>
            <md-button ng-click="$ctrl.help()">
                <md-icon><ng-md-icon icon="help"></ng-md-icon></md-icon>
            </md-button>
        </div>
    </form>
</md-content>









<commit_msg>added title for a lesson in lesson-add screen<commit_after><md-sidenav md-selected-nav-item="currentNavItem" md-component-id="left" md-is-locked-open="$mdMedia('gt-sm')" class="md-sidenav-left md-whiteframe-4dp" md-component-id="left">
    <md-list>
        <md-list-item ng-click="$ctrl.redirectEditProfile()">Edit Profile </md-list-item>
        <md-list-item ng-click="$ctrl.redirectYourInbox()">Your inbox</md-list-item>
        <md-list-item ng-click="$ctrl.redirectYourAppointmentPage()"> Appointment Page</md-list-item>
        <md-list-item ng-click="$ctrl.redirectSearchATeacher()"> Search a Teacher</md-list-item>
        <md-list-item ng-click="$ctrl.redirectRateATeacher()"> Rate a Teacher </md-list-item>
        <md-list-item ng-click="$ctrl.redirectCancelALesson()"> Cancel a Lesson </md-list-item>
        <md-list-item ng-click="$ctrl.newLesson()"> Add New Time Slot</md-list-item>
    </md-list>
    <md-content>

    </md-content>
</md-sidenav>

<md-content class="md-no-momentum">
    <h1> Add new lesson </h1>
    <br/>
    <p> Please enter the necessary information about your session </p>
    <br>
    <form name="lessonForm">
        <div layout="row">
            <md-input-container class="md-icon-float md-block">
                <label>Title</label>
                <md-icon><ng-md-icon icon="title" ></ng-md-icon></md-icon>
                <input ng-model="$ctrl.lesson.title" type="text" required>
            </md-input-container>
            <md-input-container class="md-icon-float md-block">
                <label>Instrument(s)</label>
                <md-select name="type" ng-model="$ctrl.lesson.instrument_list" multiple required>
                    <md-option value="piano">Piano</md-option>
                    <md-option value="guitar">Guitar</md-option>
                    <md-option value="violin">Violin</md-option>
                    <md-option value="recorder">Redcorder</md-option>
                    <md-option value="drums">Drums</md-option>
                    <md-option value="transverse_flute">Transverse flute</md-option>
                    <md-option value="clarinet">Clarinet</md-option>
                    <md-option value="trumpet">Trumpet</md-option>
                    <md-option value="saxophone">Saxophone</md-option>
                </md-select>
            </md-input-container>
            <md-input-container class="md-icon-float md-block">
                <label>Date</label>
                <md-datepicker ng-model="$ctrl.lesson.start_day" required></md-datepicker>
            </md-input-container>
        </div>
        <div layout="row">
            <md-input-container class="md-icon-float md-block">
                <label>Start time</label>
                <input ng-model="$ctrl.lesson.start_time" type="time" required class="form-control"
                       placeholder="08:00">
            </md-input-container>
            <md-input-container class="md-icon-float md-block">
                <label>End time</label>
                <input ng-model="$ctrl.lesson.end_time" type="time" required class="form-control"
                       placeholder="10:00">
            </md-input-container>
            <md-input-container class="md-block">
                <label>Session frequency</label>
                <md-select name="type" ng-model="$ctrl.lesson.frequency" required>
                    <md-option value="onetime">one time</md-option>
                    <md-option value="weekly">weekly</md-option>
                    <md-option value="biweekly">bi weekly</md-option>
                </md-select>
            </md-input-container>

        </div>
        <div>
            <md-button class="md-raised" ng-click="$ctrl.cancel()">Cancel</md-button>
            <md-button ng-disabled="!lessonForm.$valid" ng-click="$ctrl.save()" class="md-raised md-primary">Add new
                time slot
            </md-button>
            <md-button ng-click="$ctrl.help()">
                <md-icon><ng-md-icon icon="help"></ng-md-icon></md-icon>
            </md-button>
        </div>
    </form>
</md-content>










{'fraction_non_alphanumeric': 0.16285498869062578, 'fraction_numerical': 0.002764513696908771, 'mean_word_length': 2.007936507936508, 'pattern_counts': {'":': 0, '<': 208, '<?xml version=': 0, '>': 208, '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': '829103', 'n_tokens_mistral': 2471, 'n_tokens_neox': 2350, 'n_words': 368}