<commit_before>{% extends 'base.html' %}

{% block content %}
	<section id="reply">
		{% if user %}
			<div id="comment{{ comment.id }}" class="row">
				
				<div class="col col-lg-4">
					<img src="{{ user.gravatar }}" alt="Avatar for {{ user.profileName }}" align="left" class="gravatar" />
					<div class="h4">{{ user.profileName }}</div>
				</div>


				<form action="" method="POST" id="commentForm">{% csrf_token %}
					<div class="col col-lg-12">
						<div class="row">
							<section class="col col-lg-16" id="comment{{ comment.id }}body">
								{{ form.id }}
								{{ form.inReplyTo }}
								{{ form.itemId }}
								{{ form.itemType }}
								<div>{{ form.markdown }}</div>
							</section>
						</div>
						<br />
						<div class="row">
							<div class="pull-left muted">
								<small><a data-toggle="modal" data-target="#markdownModal">Formatting help</a></small>
							</div>
							<section class="pull-right" id="comment{{ comment.id }}controls">
								<input class="btn btn-primary" type="submit" value="Save comment">
							</section>
						</div>
					</div>              <commit_msg>Use new user attributes in create_comment template<commit_after>{% extends 'base.html' %}

{% block content %}
	<section id="reply">
		{% if user %}
			<div id="comment{{ comment.id }}" class="row">
				
				<div class="col col-lg-4">
					<img src="{{ user.gravatar }}" alt="Avatar for {{ user.profile_name }}" align="left" class="gravatar" />
					<div class="h4">{{ user.profile_name }}</div>
				</div>


				<form action="" method="POST" id="commentForm">{% csrf_token %}
					<div class="col col-lg-12">
						<div class="row">
							<section class="col col-lg-16" id="comment{{ comment.id }}body">
								{{ form.id }}
								{{ form.inReplyTo }}
								{{ form.itemId }}
								{{ form.itemType }}
								<div>{{ form.markdown }}</div>
							</section>
						</div>
						<br />
						<div class="row">
							<div class="pull-left muted">
								<small><a data-toggle="modal" data-target="#markdownModal">Formatting help</a></small>
							</div>
							<section class="pull-right" id="comment{{ comment.id }}controls">
								<input class="btn btn-primary" type="submit" value="Save comment">
							</section>
						</div>
					</div>              
{'fraction_non_alphanumeric': 0.20287331301697867, 'fraction_numerical': 0.00522420548541576, 'mean_word_length': 2.5299539170506913, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '6336255', 'n_tokens_mistral': 1035, 'n_tokens_neox': 726, 'n_words': 164}