<commit_before>{% extends 'InicioBundle:Admin:index.html.twig' %} 
{% block form %}
    {{ form_start(form) }}
     <div class="overflow distancia">
         {% if error %}
                <div id="login-error" class="alert alert-danger col-md-6 col-md-offset-3">Ya exíste un libro con el mismo ISBN</div>
            {% endif %}
            <div class="panel panel-primary col-md-6 col-md-offset-3">
                <div class="panel-heading"><span class="glyphicon glyphicon-plus">Crear un  Libro</span>
                </div>
                {{ form_widget(form._token) }}
                <div class="panel-body form-group ">
                    <div class="esp">
                        {{ form_label(form.titulo)}}
                        {{ form_widget(form.titulo, {'attr': {'class': 'form-control', 'placeholder': 'Nuevo nombre del libro'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.imagen)}}
                       {{ form_widget(form.imagen, {'attr': {'class': 'form-control', 'placeholder': 'Imagen'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.isbn)}}
                       {{ form_widget(form.isbn, {'attr': {'class': 'form-control', 'placeholder': 'ISBN'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.paginas)}}
                       {{ form_widget(form.paginas, {'attr': {'class': 'form-control', 'placeholder': 'Páginas'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.descripcion)}}
                        {{ form_widget(form.descripcion, {'attr': {'class': 'form-control', 'placeholder': 'Descripcion'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.fecha)}}
                        {{ form_widget(form.fecha, {'attr': {'class': 'form-control', 'placeholder': 'Fecha'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.idioma)}}
                        {{ form_widget(form.idioma, {'attr': {'class': 'form-control', 'placeholder': 'Idioma'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.precio)}}
                        {{ form_widget(form.precio, {'attr': {'class': 'form-control', 'placeholder': 'Precio'}})}}
                    </div>
                    
                    <div class="esp">
                        {{ form_label(form.editorial)}}
                        {{ form_widget(form.editorial, {'attr': {'class': 'form-control', 'placeholder': 'Editorial'}})}}
                    </div>
                    
                    <div class="esp"><commit_msg>errores corresp en alta de autor<commit_after>{% extends 'InicioBundle:Admin:index.html.twig' %} 
{% block form %}
    {{ form_start(form) }}
     <div class="overflow distancia">
         {% if error %}
                <div id="login-error" class="alert alert-danger col-md-6 col-md-offset-3">Ya exíste un libro con el mismo ISBN</div>
            {% endif %}
            <div class="panel panel-primary col-md-6 col-md-offset-3">
                <div class="panel-heading"><span class="glyphicon glyphicon-plus">Crear un  Libro</span>
                </div>
                {{ form_widget(form._token) }}
                <div class="panel-body form-group ">
                    <div class="esp">
                        {{ form_label(form.titulo)}}
                        {{ form_widget(form.titulo, {'attr': {'class': 'form-control', 'placeholder': 'Nuevo nombre del libro'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.imagen)}}
                       {{ form_widget(form.imagen, {'attr': {'class': 'form-control', 'placeholder': 'Imagen'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.isbn)}}
                       {{ form_widget(form.isbn, {'attr': {'class': 'form-control', 'placeholder': 'ISBN','pattern':'^[0-9_]{1,32}', 'title':'Sólo números'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.paginas)}}
                       {{ form_widget(form.paginas, {'attr': {'class': 'form-control', 'placeholder': 'Páginas','pattern':'^[0-9_]{1,32}', 'title':'Sólo números'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.descripcion)}}
                        {{ form_widget(form.descripcion, {'attr': {'class': 'form-control', 'placeholder': 'Descripcion'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.fecha)}}
                        {{ form_widget(form.fecha, {'attr': {'class': 'form-control', 'placeholder': 'Fecha'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.idioma)}}
                        {{ form_widget(form.idioma, {'attr': {'class': 'form-control', 'placeholder': 'Idioma', 'pattern':'^[A-Za-z_]{1,32}', 'title':'Sólo letras'}})}}
                    </div>
                    <div class="esp">
                        {{ form_label(form.precio)}}
                        {{ form_widget(form.precio, {'attr': {'class': 'form-control', 'placeholder': 'Precio', 'pattern':'[-+]?[0-9]*[.,][0-9]+', 'title':'Ej. 12.50, 200.00'}})}}
                    </div>
                    
                    <div class="esp">
                        {{ form_label(form.editorial)}}
                        {{ form_widget(form.editorial, {'attr': {'class': 'form-control', 'placeholder': 'Editorial'}})}}
                    </div>
                    
                    <div class="esp">
{'fraction_non_alphanumeric': 0.17663865546218488, 'fraction_numerical': 0.005714285714285714, 'mean_word_length': 1.4530090684253916, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '2764781', 'n_tokens_mistral': 1701, 'n_tokens_neox': 1569, 'n_words': 287}