<commit_before>{% extends "registration/base.html" %}
{% load pagination_tags %}
{% load tables_tags %}
{% load forms_tags %}


{% block stylesheets %}
{{ block.super }}
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}registration/stylesheets/dashboard.css" />
{% endblock %}

{% block left %}
<div class="module">
	<h2>Contacts</h2>
	<table class="contacts">
		{% render_colgroup contacts %}
		{% render_thead contacts %}

		<tbody>{% if contacts.rows %}{% for row in contacts.rows %}
			<tr{% if row.is_active %} class="active"{% endif %}>{% for value in row %}{% if forloop.first %}
				<th><a href="{{ row.url }}">{% if value %}{{ value }}{% else %}&nbsp;{% endif %}</a></th>{% else %}
				<td>{{ value }}</td>{% endif %}{% endfor %}
			</tr>{% endfor %}{% else %}
			<tr class="no-data look-right">
				<td colspan="{{ contacts.columns|length }}">
					<p>
						You haven't created any contacts yet.<br />
						Use the form on the right to get started.
					</p>
				</td>
			</tr>{% endif %}
		</tbody>

		{% render_tfoot contacts %}
	</table>
	<div class="toolbar">
		<a href="{% url registration_add %}" class="add">Add a Contact</a>
	</div>
</div>
{% endblock %}

{% block right %}
<div class="module">
	<h2>{% if contact %}
		Edit {{ contact }}{% else %}
		Add a Contact{% endif %}
	</h2>

	<form action="" method="post">
		{% render_form contact_form %}

		<div class="submit">
			<input type="submit" name="submit" value="Save Contact" />
			<input type="submit" name="submit" value="Delete Contact" />
		</div>
	</form>
</div>
{% endblock %}
<commit_msg>render nothing, rather than 'None'.<commit_after>{% extends "registration/base.html" %}
{% load pagination_tags %}
{% load tables_tags %}
{% load forms_tags %}


{% block stylesheets %}
{{ block.super }}
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}registration/stylesheets/dashboard.css" />
{% endblock %}

{% block left %}
<div class="module">
	<h2>Contacts</h2>
	<table class="contacts">
		{% render_colgroup contacts %}
		{% render_thead contacts %}

		<tbody>{% if contacts.rows %}{% for row in contacts.rows %}
			<tr{% if row.is_active %} class="active"{% endif %}>{% for value in row %}{% if forloop.first %}
				<th><a href="{{ row.url }}">{% if value %}{{ value }}{% else %}&nbsp;{% endif %}</a></th>{% else %}
				<td>{% if value %}{{ value }}{% endif %}</td>{% endif %}{% endfor %}
			</tr>{% endfor %}{% else %}
			<tr class="no-data look-right">
				<td colspan="{{ contacts.columns|length }}">
					<p>
						You haven't created any contacts yet.<br />
						Use the form on the right to get started.
					</p>
				</td>
			</tr>{% endif %}
		</tbody>

		{% render_tfoot contacts %}
	</table>
	<div class="toolbar">
		<a href="{% url registration_add %}" class="add">Add a Contact</a>
	</div>
</div>
{% endblock %}

{% block right %}
<div class="module">
	<h2>{% if contact %}
		Edit {{ contact }}{% else %}
		Add a Contact{% endif %}
	</h2>

	<form action="" method="post">
		{% render_form contact_form %}

		<div class="submit">
			<input type="submit" name="submit" value="Save Contact" />
			<input type="submit" name="submit" value="Delete Contact" />
		</div>
	</form>
</div>
{% endblock %}

{'fraction_non_alphanumeric': 0.221252726706139, 'fraction_numerical': 0.0024929884699283265, 'mean_word_length': 3.741506646971935, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '7552250', 'n_tokens_mistral': 1312, 'n_tokens_neox': 1081, 'n_words': 297}