<commit_before>{% extends "base_member.html" %}
<!-- Load internationalisation utils-->
{% load i18n %}

{% block title %}Clients{% endblock %}

{% block breadcrumb %}
{{ block.super }}
<i class="right arrow icon divider"></i>
<div class="active section">{% trans "Clients" %}</div>
{% endblock breadcrumb %}

{% block content %}

<h1>Search client</h1>

<div class="ui mobile reversed equal width grid">
  <div class="column">

    <form action="" method="get">
        <div class="ui large action left icon input">
            <i class="users icon"></i>
            {{ filter.form.member__lastname }}
            <button class="ui teal button" type="submit">Search
            </button>
        </div>
    </form>

  </div>
  <div class="column">
    <a class="large ui button" href="{% url 'member:member_step' %}">Add new client</a>
  </div>
</div>


<table class="ui very basic table">
  <thead>
    <tr>
      <th class="sorted descending">{% trans 'Name' %}</th>
      <th class="">{% trans 'Phone Number' %}</th>
      <th class="">{% trans 'Gender' %}</th>
      <th class="">{% trans 'Meal Status' %}</th>
    </tr>
  </thead>
  <tbody>
    {% for obj in filter %}
        <tr>
            <td><a href="{% url 'member:view_info' id=obj.id %}">{{ obj.member }}</a></td>
            <td>{{ obj.member.get_home_phone.value }}</td>
            <td>{{ obj.member.gender }}</td>
            <td>{{ obj.status  }}</td>
        </tr>
    {% endfor %}
    </tbody>
</table>

<script type="text/javascript">
    document.addEventListener( 'DOMContentLoaded', function () {
      $('table').tablesort();
    })
</script>
{% endblock %}
<commit_msg>add languange field inside the client list add the language field inside the client list<commit_after>{% extends "base_member.html" %}
<!-- Load internationalisation utils-->
{% load i18n %}

{% block title %}Clients{% endblock %}

{% block breadcrumb %}
{{ block.super }}
<i class="right arrow icon divider"></i>
<div class="active section">{% trans "Clients" %}</div>
{% endblock breadcrumb %}

{% block content %}

<h1>Search client</h1>

<div class="ui mobile reversed equal width grid">
  <div class="column">

    <form action="" method="get">
        <div class="ui large action left icon input">
            <i class="users icon"></i>
            {{ filter.form.member__lastname }}
            <button class="ui teal button" type="submit">Search
            </button>
        </div>
    </form>

  </div>
  <div class="column">
    <a class="large ui button" href="{% url 'member:member_step' %}">Add new client</a>
  </div>
</div>


<table class="ui very basic table">
  <thead>
    <tr>
      <th class="sorted descending">{% trans 'Name' %}</th>
      <th class="">{% trans 'Phone Number' %}</th>
      <th class="">{% trans 'Gender' %}</th>
      <th class="">{% trans 'Language'%}</th>
      <th class="">{% trans 'Meal Status' %}</th>
    </tr>
  </thead>
  <tbody>
    {% for obj in filter %}
        <tr>
            <td><a href="{% url 'member:view_info' id=obj.id %}">{{ obj.member }}</a></td>
            <td>{{ obj.member.get_home_phone.value }}</td>
            <td>{{ obj.member.gender }}</td>
            <td>{{ obj.language }}
            <td>{{ obj.status  }}</td>
        </tr>
    {% endfor %}
    </tbody>
</table>

<script type="text/javascript">
    document.addEventListener( 'DOMContentLoaded', function () {
      $('table').tablesort();
    })
</script>
{% endblock %}

{'fraction_non_alphanumeric': 0.20492753623188406, 'fraction_numerical': 0.002318840579710145, 'mean_word_length': 2.759259259259259, 'pattern_counts': {'":': 0, '<': 112, '<?xml version=': 0, '>': 112, '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': '6035255', 'n_tokens_mistral': 1184, 'n_tokens_neox': 1094, 'n_words': 308}