<commit_before><div class="commentform" id="edit-form">
<fieldset><legend><span class="sign">
{% if self.id > 0 %}
	{% trans _('edición nota') %}
{% else %}
	{% trans _('nueva nota') %}
{% endif %}
</span></legend>

{% exec print_simpleformat_buttons 'post' as dummy %}


<form action="{{ globals.base_url }}backend/post_edit.php?user={{ current_user.user_id }}" method="post" id="thisform{{ self.id }}" name="thisform{{ self.id }}" enctype="multipart/form-data">
<input type="hidden" name="key" value="{{ self.randkey }}" />
<input type="hidden" name="post_id" value="{{ self.id }}" />
<input type="hidden" name="user_id" value="{{ self.author }}" />
<textarea style="clear: both" name="post" rows="6" cols="40" id="post"
{% if ! globals.mobile %}
	onKeyDown="textCounter(document.thisform{{ self.id }}.post,document.thisform{{ self.id }}.postcounter,{{ globals.posts_len }})"
	onKeyUp="textCounter(document.thisform{{ self.id }}.post,document.thisform{{ self.id }}.postcounter,{{ globals.posts_len }})"
{% endif %}
>{{ self.content }}</textarea>


<div style="margin-top:-7px">
{% if ! globals.mobile %}
	<input readonly type="text" name="postcounter" size="3" maxlength="3" value="{{ self.body_left }}" />
	<span class="note">{% trans _('caracteres libres') %}</span>&nbsp;&nbsp;
{% endif %}

{% if self.media_size > 0 %}
	<label>{% trans _('Eliminar imagen') %}: <input type="checkbox" name="image_delete" value="1"/></label>&nbsp;
{% endif %}

{% if current_user.user_karma > globals.media_min_karma OR current_user.admin %}
	<input type="hidden" name="MAX_FILE_SIZE" value="{{ globals.media_max_size }}" />
	<input type="file" autocomplete="off" name="image" />
{% endif %}
</div>

<input class="button" type="submit" value="{% trans _('guardar') %}" />
</form>
</fieldset><commit_msg>Moved to the right. Added label<commit_after><div class="commentform" id="edit-form">
<fieldset><legend><span class="sign">
{% if self.id > 0 %}
	{% trans _('edición nota') %}
{% else %}
	{% trans _('nueva nota') %}
{% endif %}
</span></legend>

{% exec print_simpleformat_buttons 'post' as dummy %}


<form action="{{ globals.base_url }}backend/post_edit.php?user={{ current_user.user_id }}" method="post" id="thisform{{ self.id }}" name="thisform{{ self.id }}" enctype="multipart/form-data">
<input type="hidden" name="key" value="{{ self.randkey }}" />
<input type="hidden" name="post_id" value="{{ self.id }}" />
<input type="hidden" name="user_id" value="{{ self.author }}" />
<textarea style="clear: both" name="post" rows="6" cols="40" id="post"
{% if ! globals.mobile %}
	onKeyDown="textCounter(document.thisform{{ self.id }}.post,document.thisform{{ self.id }}.postcounter,{{ globals.posts_len }})"
	onKeyUp="textCounter(document.thisform{{ self.id }}.post,document.thisform{{ self.id }}.postcounter,{{ globals.posts_len }})"
{% endif %}
>{{ self.content }}</textarea>


<div style="margin-top:-7px">
{% if ! globals.mobile %}
	<input readonly type="text" name="postcounter" size="3" maxlength="3" value="{{ self.body_left }}" />
	<span class="note">{% trans _('caracteres libres') %}</span>&nbsp;&nbsp;
{% endif %}

{% if self.media_size > 0 %}
	<label>{% trans _('Eliminar imagen') %}: <input type="checkbox" name="image_delete" value="1"/></label>&nbsp;
{% endif %}

{% if current_user.user_karma > globals.media_min_karma OR current_user.admin %}
	<input type="hidden" name="MAX_FILE_SIZE" value="{{ globals.media_max_size }}" />
	<div style="float:right">
	<label>{% trans _('Subir imagen') %}: <input type="file" autocomplete="off" name="image" accept="image/gif, image/jpeg, image/png"/></label>
	</div>
{% endif %}
</div>

<input class="button" type="submit" value="{% trans _('guardar') %}" />
</form>
</fieldset>
{'fraction_non_alphanumeric': 0.231058570660935, 'fraction_numerical': 0.004836109618484685, 'mean_word_length': 6.104961832061068, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 63, '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': '7050534', 'n_tokens_mistral': 1378, 'n_tokens_neox': 1283, 'n_words': 268}