<commit_before>{% extends "kompomaatti/base.html" %}
{% load static %}

{% block title %}{{ block.super }}{% endblock %}

{% block head %}
{{ block.super }}
{% endblock %}

{% block jquery %}
{{ block.super }}
        $('#submit_button').css('display', 'none');
        $('#event_select').change(function() {
            window.location.replace("/kompomaatti/"+$('#event_select').val()+'/');
        });
{% endblock %}

{% block headernav %}
{{ block.super }}
            <li class="menuitem">
                <a href="{% url 'km:eventselect' %}">Tapahtumat</a>
            </li>
{% endblock %}

{% block crumbs %}
{{ block.super }}
{% endblock %}

{% block content %}
{{ block.super }}
<h2>Tapahtuman valinta</h2>
    <p>Valitse tapahtuma.</p>
    <form id="mform" method="POST" action="">
        <select id="event_select" name="eventsel">
            <option value="-1">---</option>
    {% for event in events %}
            <option value="{{ event.id }}">{{ event.name }}</option>
    {% endfor %}
        </select>
        {% csrf_token %}
        <input type="submit" id="submit_button" value="Valitse" />
    </form>
{% endblock %}<commit_msg>kompomaatti: Fix invalid HTML that was causing styling issues<commit_after>{% extends "kompomaatti/base.html" %}
{% load static %}

{% block title %}{{ block.super }}{% endblock %}

{% block head %}
{{ block.super }}
{% endblock %}

{% block jquery %}
{{ block.super }}
        $('#submit_button').css('display', 'none');
        $('#event_select').change(function() {
            window.location.replace("/kompomaatti/"+$('#event_select').val()+'/');
        });
{% endblock %}

{% block headernav %}
{{ block.super }}
        <ul id="header_nav_left">
            <li class="menuitem">
                <a href="{% url 'km:eventselect' %}">Tapahtumat</a>
            </li>
        </ul>
{% endblock %}

{% block crumbs %}
{{ block.super }}
{% endblock %}

{% block content %}
{{ block.super }}
<h2>Tapahtuman valinta</h2>
    <p>Valitse tapahtuma.</p>
    <form id="mform" method="POST" action="">
        <select id="event_select" name="eventsel">
            <option value="-1">---</option>
    {% for event in events %}
            <option value="{{ event.id }}">{{ event.name }}</option>
    {% endfor %}
        </select>
        {% csrf_token %}
        <input type="submit" id="submit_button" value="Valitse" />
    </form>
{% endblock %}
{'fraction_non_alphanumeric': 0.21911519198664442, 'fraction_numerical': 0.0025041736227045075, 'mean_word_length': 2.7278382581648524, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '1461301', 'n_tokens_mistral': 835, 'n_tokens_neox': 767, 'n_words': 153}