<commit_before> {{> nav}}
<section class="content scrollable">
    <section class="content-header">
        <h1>Add a poster</h1>
    </section>
    <section class="content-body">
        {{#if error}}
            <div class="error">
                {{error}}
            </div>
        {{/if}}
        <!-- <div id="messages">
        <p>Status Messages</p>
      </div> -->
        <!-- <div id="filedrag">or drop files here</div> -->
        <form action="{{postUrl}}" method="post" enctype="multipart/form-data">
            <div class="">
                <label for="field_name">Name: </label>
                <input type="text" id="field_name" name="name" value="">
            </div>
            <div class="">
                <input type="file" name="imageFile" value="" id="field_file">
            </div>
            <div class="">
                <label for="field_discription">Discription: </label>
                <input type="text" id="field_discription" name="discription" value="">
            </div>
            <div class="">
                <label for="field_duration">Type: </label>
                <select class="" name="type">
                    <option value="poster">Pooster</option>
                    <option value="video">Vimeo video</option>
                    <!-- <option value="Poll">Poll</option> -->
                </select>
            </div>
            <div class="">
                <label for="field_animation">Animation: </label>
                <select class="" name="animation">
                    <option value="pop">pop</option>
                    <option value="top-push">push from top</option>
                    <option value="left-push">push from left</option>
                </select>
            </div>
            <div class="">
                <label for="field_duration">Duration: </label>
                <select class="" name="duration">
                    <option value="10">10 sec</option>
                    <option value="20">20 sec</option>
                    <option value="30">30 sec</option>
                    <option value="40">40 sec</option>
                    <option value="50">50 sec</option>
                    <option value="60">1 min</option>
                    <option value="90">1,5 min</option>
                    <option value="120">2 min</option>
                </select>
            </div>
            <div class="">
                <label for="field_date_start">Start date: </label>
                <input type="date" id="field_date_start" name="date_start" value="">
            </div>
            <div class="">
                <label for="field_date_end">End date: </label>
                <input type="date" id="field_date_end" name="date_end" value="">
            </div>
            <a href="/admin/posters" class="btn btn-normal">Cancel</a>
            <button class="btn btn-default">Upload the poster</button>
        </form>

        <img src="" alt="" id="input_preview" />
    </section><commit_msg>show no poster img<commit_after> {{> nav}}
<section class="content scrollable">
    <section class="content-header">
        <h1>Add a poster</h1>
    </section>
    <section class="content-body">
        {{#if error}}
            <div class="error">
                {{error}}
            </div>
        {{/if}}
        <!-- <div id="messages">
        <p>Status Messages</p>
      </div> -->
        <!-- <div id="filedrag">or drop files here</div> -->
        <form action="{{postUrl}}" method="post" enctype="multipart/form-data">
            <div class="">
                <label for="field_name">Name: </label>
                <input type="text" id="field_name" name="name" value="">
            </div>
            <div class="">
                <input type="file" name="imageFile" value="" id="field_file">
            </div>
            <div class="">
                <label for="field_discription">Discription: </label>
                <input type="text" id="field_discription" name="discription" value="">
            </div>
            <div class="">
                <label for="field_duration">Type: </label>
                <select class="" name="type">
                    <option value="poster">Pooster</option>
                    <option value="video">Vimeo video</option>
                    <!-- <option value="Poll">Poll</option> -->
                </select>
            </div>
            <div class="">
                <label for="field_animation">Animation: </label>
                <select class="" name="animation">
                    <option value="pop">pop</option>
                    <option value="top-push">push from top</option>
                    <option value="left-push">push from left</option>
                </select>
            </div>
            <div class="">
                <label for="field_duration">Duration: </label>
                <select class="" name="duration">
                    <option value="10">10 sec</option>
                    <option value="20">20 sec</option>
                    <option value="30">30 sec</option>
                    <option value="40">40 sec</option>
                    <option value="50">50 sec</option>
                    <option value="60">1 min</option>
                    <option value="90">1,5 min</option>
                    <option value="120">2 min</option>
                </select>
            </div>
            <div class="">
                <label for="field_date_start">Start date: </label>
                <input type="date" id="field_date_start" name="date_start" value="">
            </div>
            <div class="">
                <label for="field_date_end">End date: </label>
                <input type="date" id="field_date_end" name="date_end" value="">
            </div>
            <a href="/admin/posters" class="btn btn-normal">Cancel</a>
            <button class="btn btn-default">Upload the poster</button>
        </form>

        <img src="/img/no-poster.jpg" alt="" id="input_preview" />
    </section>
{'fraction_non_alphanumeric': 0.16630776875931755, 'fraction_numerical': 0.010932582408481033, 'mean_word_length': 1.5803418803418803, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 0, '>': 193, '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': '2460491', 'n_tokens_mistral': 1684, 'n_tokens_neox': 1559, 'n_words': 350}