<commit_before>@extends('master', ['pagetitle' => 'Admin / Inhoud aanpassen'])

@section('title')
        <h3>Admin <small>inhoud aanpassen</small></h3>
@stop

@section('content')
        @include('admin.nav')

        <div class="hidden-xs hidden-sm">
                <h3>1. Selecteer een veld om aan te passen</h3>

                <hr />

                <form action="/admin/saveContent" method="POST" class="form-horizontal">
                        {!! csrf_field() !!}
                        <div class="form-group">
                                <label for="field" class="col-sm-2 control-label">Velden: </label>

                                <div class="col-sm-10">
                                        <select name="field" id="field-selector" class="form-control">
                                                <option value="---" selected>Selecteer een veld</option>
                                                @foreach($data as $field)
                                                        <option value="{{ $field->name }}">{{ $field->page }} / {{ $field->title }}</option>
                                                @endforeach
                                        </select>
                                </div>
                        </div>

                        <div id="step-2" style="display: none;">
                                <h3>2. De HTML code aanpassen</h3>

                                <hr />

                                <div class="form-group">
                                        <label for="field" class="col-sm-2 control-label">Inhoud: </label>

                                        <div class="col-sm-10">
                                                <textarea name="content" id="editor" rows="30" class="form-control"></textarea>
                                        </div>
                                </div>

                                <hr />

                                <button type="submit" class="btn btn-success btn-block">Opslaan</button>
                        </div>
                </form>
        </div>

        <div class="hidden-md hidden-lg">
                <div class="alert alert-warning">Deze pagina kan alleen worden bekeken op grote vensters zoals een laptop of desktop.</div>
        </div>
@stop

@section('extraJS')
        <script type="text/javascript" src="/js/ckeditor/ckeditor.js"></script><commit_msg>Change step-2 header<commit_after>@extends('master', ['pagetitle' => 'Admin / Inhoud aanpassen'])

@section('title')
        <h3>Admin <small>inhoud aanpassen</small></h3>
@stop

@section('content')
        @include('admin.nav')

        <div class="hidden-xs hidden-sm">
                <h3>1. Selecteer een veld om aan te passen</h3>

                <hr />

                <form action="/admin/saveContent" method="POST" class="form-horizontal">
                        {!! csrf_field() !!}
                        <div class="form-group">
                                <label for="field" class="col-sm-2 control-label">Velden: </label>

                                <div class="col-sm-10">
                                        <select name="field" id="field-selector" class="form-control">
                                                <option value="---" selected>Selecteer een veld</option>
                                                @foreach($data as $field)
                                                        <option value="{{ $field->name }}">{{ $field->page }} / {{ $field->title }}</option>
                                                @endforeach
                                        </select>
                                </div>
                        </div>

                        <div id="step-2" style="display: none;">
                                <h3>2. De inhoud aanpassen</h3>

                                <hr />

                                <div class="form-group">
                                        <label for="field" class="col-sm-2 control-label">Inhoud: </label>

                                        <div class="col-sm-10">
                                                <textarea name="content" id="editor" rows="30" class="form-control"></textarea>
                                        </div>
                                </div>

                                <hr />

                                <button type="submit" class="btn btn-success btn-block">Opslaan</button>
                        </div>
                </form>
        </div>

        <div class="hidden-md hidden-lg">
                <div class="alert alert-warning">Deze pagina kan alleen worden bekeken op grote vensters zoals een laptop of desktop.</div>
        </div>
@stop

@section('extraJS')
        <script type="text/javascript" src="/js/ckeditor/ckeditor.js"></script>
{'fraction_non_alphanumeric': 0.13121149897330595, 'fraction_numerical': 0.007186858316221766, 'mean_word_length': 1.0220008302200083, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 32, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5554507', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1097, 'n_words': 240}