<commit_before>
extends layout.jade

include mixins/reservation_selector

block vars
    - controller = "NewExternalReservationController"

block content
    div(ng-init="setLodgingId(#{lodging.id})")
    .container.margin-top-default
        form
            h2 Uusi varausilmoitus
            p #{lodging.name}
            +reservation-selector()
            .row: .col-sm-6: .form-group
                label Selite
                input.form-control(type="text" required ng-model="reservation.reason")
            .row: .col-sm-5
                button.btn.btn-primary(ng-click="onSend()" ng-disabled="!reservation.during.lower || !reservation.during.upper) Varaa<commit_msg>Fix external reservation view<commit_after>
extends layout.jade

include mixins/reservation_selector

block vars
    - controller = "NewExternalReservationController"

block content
    div(ng-init="setLodgingId(#{lodging.id})")
    .container.margin-top-default
        form
            h2 Uusi varausilmoitus
            p #{lodging.name}
            +reservation-selector()
            .row: .col-sm-6: .form-group
                label Selite
                input.form-control(type="text" required ng-model="reservation.reason")
            .row: .col-sm-5
                button.btn.btn-primary(ng-click="onSend()" ng-disabled="!reservation.during.lower || !reservation.during.upper") Varaa
{'fraction_non_alphanumeric': 0.11709090909090909, 'fraction_numerical': 0.004363636363636364, 'mean_word_length': 2.3891625615763545, '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': '3087032', 'n_tokens_mistral': 427, 'n_tokens_neox': 405, 'n_words': 70}