<commit_before>@extends(config('llstarscreamll.CrudGenerator.config.layout'))

@section('title') Opciones CRUD @stop

@section('style')
<style type="text/css">
    
    .input-text-extra-short{
        width: 4em;
    }
    
    .input-text-short{
        width: 6em;
    }

    .input-text-medium{
        width: 8em;
    }

</style>

@endsection

@section('content')
    
    <div class="content-header">
		<h1><a href="{{route('crudGenerator.index')}}">CrudGenerator</a></h1>
	</div>
	
    <div class="content">
        
        <div class="box">
            
            <div class="box-header">

                <div class="row">

                </div>

                @include (config('llstarscreamll.CrudGenerator.config.layout-namespace').'layout.notifications')

            </div>

            <div class="panel-body">
                
                {!! Form::model($options, ['route' => 'crudGenerator.generate', 'method' => 'POST', 'name' => 'CRUD-form']) !!}

                    <fieldset>
                        <legend>Tests & Seeders</legend>
                        <div class="row">

                            {!! Form::hidden('table_name', $table_name) !!}

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Usar Faker?
                                </label>
                                <br>
                                {!! Form::checkbox('use_faker', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Usar Clase Base?
                                </label>
                                <br>
                                {!! Form::checkbox('use_base_class', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Crear empleados?<br>
                                </label>
                                <br>
                                {!! Form::checkbox('create_employees_data', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Crear permisos?<br>
                                </label>
                                <br>
                                {!! Form::checkbox('create_permissions', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                        </div>
                    </fieldset>
                    
                    <div class="clearfix"></div>

                    <fieldset>
                        <legend>Componentes Frontend</legend>
                        <div class="row">

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    CheckboxComponent on Table<br>
                                </label>
                                <br>
                                <label>
                                    {!! Form::radio('checkbox_component_on_index_table', 'iCheck', null, ['class' => 'icheckbox_square-blue']) !!}
                                    iCheck
                                </label>
                                <br>
                                <label>
                                    {!! Form::radio('checkbox_component_on_index_table', 'BootstrapSwitch', null, ['class' => 'icheckbox_square-blue']) !!}
                                    BootstrapSwitch
                                </label>
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    User DateTimePicker en Formularios?<br>
                                </label>
                                <br>
                                {!! Form::checkbox('use_DateTimePicker_on_form_fields', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                        </div>
                    </fieldset>

                    <div class="clearfix"></div>

                    <fieldset>
                        <legend>Atributos de Entidad</legend>
                        <div class="row">

                            <div class="form-group col-sm-4 col-md-2">
                                {!! Form::label('plural_entity_name', 'Nombre plural') !!}
                                {!! Form::text('plural_entity_name', null, ['class' => 'form-control']) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                {!! Form::label('single_entity_name', 'Nombre singular') !!}
                                {!! Form::text('single_entity_name', null, ['class' => 'form-control']) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-3"><commit_msg>Añadida opción para uso de Bootbox<commit_after>@extends(config('llstarscreamll.CrudGenerator.config.layout'))

@section('title') Opciones CRUD @stop

@section('style')
<style type="text/css">
    
    .input-text-extra-short{
        width: 4em;
    }
    
    .input-text-short{
        width: 6em;
    }

    .input-text-medium{
        width: 8em;
    }

</style>

@endsection

@section('content')
    
    <div class="content-header">
		<h1><a href="{{route('crudGenerator.index')}}">CrudGenerator</a></h1>
	</div>
	
    <div class="content">
        
        <div class="box">
            
            <div class="box-header">

                <div class="row">

                </div>

                @include (config('llstarscreamll.CrudGenerator.config.layout-namespace').'layout.notifications')

            </div>

            <div class="panel-body">
                
                {!! Form::model($options, ['route' => 'crudGenerator.generate', 'method' => 'POST', 'name' => 'CRUD-form']) !!}

                    <fieldset>
                        <legend>Tests & Seeders</legend>
                        <div class="row">

                            {!! Form::hidden('table_name', $table_name) !!}

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Usar Faker?
                                </label>
                                <br>
                                {!! Form::checkbox('use_faker', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Usar Clase Base?
                                </label>
                                <br>
                                {!! Form::checkbox('use_base_class', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Crear empleados?<br>
                                </label>
                                <br>
                                {!! Form::checkbox('create_employees_data', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Crear permisos?<br>
                                </label>
                                <br>
                                {!! Form::checkbox('create_permissions', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                        </div>
                    </fieldset>
                    
                    <div class="clearfix"></div>

                    <fieldset>
                        <legend>Componentes Frontend</legend>
                        <div class="row">

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    CheckboxComponent on Table<br>
                                </label>
                                <br>
                                <label>
                                    {!! Form::radio('checkbox_component_on_index_table', 'iCheck', null, ['class' => 'icheckbox_square-blue']) !!}
                                    iCheck
                                </label>
                                <br>
                                <label>
                                    {!! Form::radio('checkbox_component_on_index_table', 'BootstrapSwitch', null, ['class' => 'icheckbox_square-blue']) !!}
                                    BootstrapSwitch
                                </label>
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Usar DateTimePicker en Formularios?<br>
                                </label>
                                <br>
                                {!! Form::checkbox('use_DateTimePicker_on_form_fields', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                <label>
                                    Usar Bootbox para acciones de confirmación?<br>
                                </label>
                                <br>
                                {!! Form::checkbox('use_modal_confirmation_on_delete', true, null, [
                                    'class' => 'bootstrap_switch',
                                    'data-size' => 'medium',
                                    'data-on-text' => 'SI',
                                    'data-off-text' => 'NO',
                                ]) !!}
                            </div>

                        </div>
                    </fieldset>

                    <div class="clearfix"></div>

                    <fieldset>
                        <legend>Atributos de Entidad</legend>
                        <div class="row">

                            <div class="form-group col-sm-4 col-md-2">
                                {!! Form::label('plural_entity_name', 'Nombre plural') !!}
                                {!! Form::text('plural_entity_name', null, ['class' => 'form-control']) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-2">
                                {!! Form::label('single_entity_name', 'Nombre singular') !!}
                                {!! Form::text('single_entity_name', null, ['class' => 'form-control']) !!}
                            </div>

                            <div class="form-group col-sm-4 col-md-3">
{'fraction_non_alphanumeric': 0.12247102023183815, 'fraction_numerical': 0.003455972352221182, 'mean_word_length': 0.724180734856008, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 102, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1779512', 'n_tokens_mistral': 3378, 'n_tokens_neox': 3130, 'n_words': 501}