<commit_before>{% extends "dashboard/base.html" %}

{% load i18n %}
{% load prices_i18n %}
{% load bootstrap %}


{% block title %}{% trans "Customers" %}{% endblock %}

{% block content %}
    <h1 class="page-header">{% trans "Customers" %}</h1>

    <div class="row">
        <div class="col-lg-12">

            <div class="well">
                <form method="post" class="form-inline">
                    {% csrf_token %}
                    {{ form }}
                    <button type="submit" class="btn btn-default" name='search'><i class="glyphicon glyphicon-search"></i> Search</button>
                    <a href="{% url 'dashboard:customers' %}">Clear</a>
                </form>
            </div>

            <div class="panel panel-default">
                <div class="panel-heading">
                    <span class="panel-title">Search results</span>
                </div>
                <div class="panel-body"><commit_msg>Render customer search form as bootstrap inline<commit_after>{% extends "dashboard/base.html" %}

{% load i18n %}
{% load prices_i18n %}
{% load bootstrap %}


{% block title %}{% trans "Customers" %}{% endblock %}

{% block content %}
    <h1 class="page-header">{% trans "Customers" %}</h1>

    <div class="row">
        <div class="col-lg-12">

            <div class="panel panel-default">
                <div class="panel-heading">{% trans "Search customers" %}</div>
                <div class="panel-body">
                    <form method="post" class="form-inline">
                        {% csrf_token %}
                        <div class="form-group">
                            <label class="control-label"for="amount">{% trans "Email" %}</label>
                            {% render_widget form.email class="form-control" %}
                        </div>
                        <div class="form-group">
                            <label class="control-label"for="amount">{% trans "Name" %}</label>
                            {% render_widget form.name class="form-control" %}
                        </div>
                        <button type="submit" class="btn btn-default" name='search'><i class="glyphicon glyphicon-search"></i> Search</button>
                        <a href="{% url 'dashboard:customers' %}">Clear</a>
                    </form>
                </div>
            </div>

            <div class="panel panel-default">
                <div class="panel-heading">
                    <span class="panel-title">Search results</span>
                </div>
                <div class="panel-body">
{'fraction_non_alphanumeric': 0.1634466769706337, 'fraction_numerical': 0.0061823802163833074, 'mean_word_length': 1.644535240040858, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '10513', 'n_tokens_mistral': 755, 'n_tokens_neox': 674, 'n_words': 152}