<commit_before>{% extends 'admin/master.html' %}

{% block body %}
	<form action="" class="well col-md-6" method="post" enctype="multipart/form-data" role="form">
		<p>A secret key is required to upload IIF files and view your rules.</p>
		<p>(Note: Remember your secret key! It's your password.)</p>
		<div class="form-group">
			<label for="secret">Secret Key</label>
			<input type="text" class="form-control" name="secret" id="secret" value="{% if secret %}{{secret}}{% endif %}">
		</div>
		<button type="submit" class="btn btn-default">Save</button>
    </form>
{% endblock %}<commit_msg>use password type for field to hide secret key<commit_after>{% extends 'admin/master.html' %}

{% block body %}
	<form action="" class="well col-md-6" method="post" enctype="multipart/form-data" role="form">
		<p>A secret key is required to upload IIF files and view your rules.</p>
		<p>(Note: Remember your secret key! It's your password.)</p>
		<div class="form-group">
			<label for="secret">Secret Key</label>
			<input type="password" class="form-control" name="secret" id="secret" value="{% if secret %}{{secret}}{% endif %}">
		</div>
		<button type="submit" class="btn btn-default">Save</button>
    </form>
{% endblock %}
{'fraction_non_alphanumeric': 0.19428571428571428, 'fraction_numerical': 0.0016326530612244899, 'mean_word_length': 4.9227053140096615, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '6589298', 'n_tokens_mistral': 431, 'n_tokens_neox': 392, 'n_words': 118}