<commit_before>extends admin_layout

block content
    div#formAddBook.row
        form.form-horizontal.col-md-6
          .form-group
              label.control-label.col-sm-3(for='book_title') Title:
              .col-sm-9
                input#book_title.form-control(type='text', aria-describedby='inputSuccess3Status' name='title')
          .form-group
              label.control-label.col-sm-3(for='book_author') Author:
              .col-sm-9
                input#book_author.form-control(type='text', aria-describedby='inputSuccess3Status' name='author')
          .form-group
              label.control-label.col-sm-3(for='book_year') Year:
              .col-sm-9
                input#book_year.form-control(type='text', aria-describedby='inputSuccess3Status' name='year')
          .form-group
              label.control-label.col-sm-3(for='book_pages') Number of pages:
              .col-sm-9
                input#book_pages.form-control(type='text', aria-describedby='inputSuccess3Status' name='pages')
          .form-group
              label.control-label.col-sm-3(for='book_isbn') ISBN:
              .col-sm-9
                input#book_isbn.form-control(type='text', aria-describedby='inputSuccess3Status' name='isbn')
          .form-group
              label.control-label.col-sm-3(for='book_description') Description:
              .col-sm-9
                textarea#book_description.form-control(rows='5')
          button#book_save.btn.btn-primary(type='button' value='save') Save
        .form-group.col-md-6
          input#book_img_upload(type='file', data-upload-url='#')
          img#imgInp(display='none')
          canvas#canvas(width='230', height='330')
    script(src='/js/admin_add_edit_book.js' defer)<commit_msg>russification admin panel<commit_after>extends admin_layout

block content
    div#formAddBook.row
        form.form-horizontal.col-md-6
          .form-group
              label.control-label.col-sm-3(for='book_title') Название:
              .col-sm-9
                input#book_title.form-control(type='text', aria-describedby='inputSuccess3Status' name='title')
          .form-group
              label.control-label.col-sm-3(for='book_author') Автор:
              .col-sm-9
                input#book_author.form-control(type='text', aria-describedby='inputSuccess3Status' name='author')
          .form-group
              label.control-label.col-sm-3(for='book_year') Год:
              .col-sm-9
                input#book_year.form-control(type='text', aria-describedby='inputSuccess3Status' name='year')
          .form-group
              label.control-label.col-sm-3(for='book_pages') Кол-во страниц:
              .col-sm-9
                input#book_pages.form-control(type='text', aria-describedby='inputSuccess3Status' name='pages')
          .form-group
              label.control-label.col-sm-3(for='book_isbn') ISBN:
              .col-sm-9
                input#book_isbn.form-control(type='text', aria-describedby='inputSuccess3Status' name='isbn')
          .form-group
              label.control-label.col-sm-3(for='book_description') Описание:
              .col-sm-9
                textarea#book_description.form-control(rows='5')
          button#book_save.btn.btn-primary(type='button' value='save') Сохранить
        .form-group.col-md-6
          input#book_img_upload(type='file', data-upload-url='#')
          img#imgInp(display='none')
          canvas#canvas(width='230', height='330')
    script(src='/js/admin_add_edit_book.js' defer)
{'fraction_non_alphanumeric': 0.14055429864253394, 'fraction_numerical': 0.014705882352941176, 'mean_word_length': 2.2479338842975207, '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': '5605339', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1085, 'n_words': 118}