<commit_before><form accept-charset="UTF-8" method="post" id="edit-file-form" action="{{www_path}}/assets/edit/{{id}}">
	<input type="hidden" name="doassetedit" value="makeitso" />
	<input type="hidden" name="asset_type" value="file" />

	{{#parent_id}}
	<p class="smalltext fadedtext"><a href="{{www_path}}/assets/edit/{{parent_id}}"><strong>return to parent asset</strong></a></p>
	{{/parent_id}}

	<label for="asset_title">Title / Name</label>
	<input type="text" id="asset_title" name="asset_title" value="{{title}}" class="required" />

	<label for="asset_description">Description</label>
	<textarea rows="3" id="asset_description" name="asset_description">{{description}}</textarea>

		<div class="pure-u-1 pure-u-md-1-2">
			<label for="connection_id">Which storage connection?</label>
			<select id="connection_id" name="connection_id">
				{{{connection_options}}}
			</select>
		</div><!--pure-->

		<div class="pure-u-1 pure-u-md-1-2">
			<label for="asset_location">Location (URI)</label>
			<input type="text" id="asset_location" name="asset_location" value="{{location}}" />
			<div class="drawer noprefix upload-corral">
				<small class="fadedtext"><svg class="icon" viewBox="0 0 271 198"><use xlink:href="#icon-cloud"></use></svg>Using a hosting connection? <a href="#" data-upload-endpoint="{{{www_path}}}/assets/uploadform/" class="drawerhandle usecolor2 file-upload-trigger">Upload a file</a></small>
				<div class="drawercontent"></div>
			</div>
		</div><!--pure-->

	{{#parent_id}}
		<input type="hidden" name="parent_id" value="{{parent_id}}" />
	{{/parent_id}}

		<h4>Additional actions</h4>

			<div class="pure-u-1 pure-u-md-1-2 spacedtext">
				<p><span class="fadedtext"><svg class="icon" viewBox="0 0 262 211"><use xlink:href="#icon-card"></use></svg>Selling out? </span><a href="{{www_path}}/commerce/items/add/selectedasset/{{id}}" class="lightboxed returntocurrentroute"><span><strong>Define commerce settings</strong></span></a></p>

				<p><span class="fadedtext"><svg class="icon" viewBox="0 0 241 241"><use xlink:href="#icon-ban"></use></svg> Need it gone? </span><a href="{{www_path}}/assets/delete/{{id}}" class="usecolor2 needsconfirmation"><span><strong>Delete this file</strong></span></a>
				</p>
				{{#show_make_public}}
					<p>
					<span class="fadedtext"><svg class="icon" viewBox="0 0 180 240"><use xlink:href="#icon-unlock"></use></svg> Don't need security?</span > <a href="#" data-publicize-endpoint="{{{www_path}}}/ajax/publicizeasset/{{id}}" class="usecolor2"><span><strong>Make this file public</strong></span></a>
					</p>
				{{/show_make_public}}

				<button class="nojs" type="submit">Save changes</button>
</form>
			</div><!--pure-->

			<div class="pure-u-1 pure-u-md-1-2 spacedtext">
				<div class="drawer noprefix">
					<p><span class="fadedtext"><svg class="icon" viewBox="0 0 260 240"><use xlink:href="#icon-dwnld"></use></svg>Need download codes?</span></p><a class="drawerhandle usecolor2">Export or create codes</a>
					<div class="drawercontent">
						<p>
						{{#asset_codes_count}}
							<span>There are {{asset_codes_count}} codes for this asset. <a class="usecolor2 noajax" href="{{www_path}}/assets/edit/{{id}}?exportcodes=1"><strong>Export them!</strong></a></span >
						{{/asset_codes_count}}
						{{^asset_codes_count}}
							<span>There are no download codes for this asset.</span>
						{{/asset_codes_count}}
						</p>
						<form accept-charset="UTF-8" method="post" action="{{www_path}}/assets/edit/{{id}}">

						<label for="add_codes_qty">Add (qty) more codes</label>
							<div class="pure-u-1 pure-u-md-1-2">
								<input type="text" name="add_codes_qty" id="add_codes_qty" value="500" />
							</div><!--pure-->
							<div class="pure-u-1 pure-u-md-1-2">
								<button type="submit">Add codes</button>
							</div><!--pure-->
					</div><!--drawercontent-->
				</div><!--drawer-->
			</div><!--pure-->
		
		<button class="onlyjs externalsubmit" data-cash-target-form="#edit-file-form" type="submit">Save changes</button>
<commit_msg>Bug fix<commit_after><form accept-charset="UTF-8" method="post" id="edit-file-form" action="{{www_path}}/assets/edit/{{id}}">
	<input type="hidden" name="doassetedit" value="makeitso" />
	<input type="hidden" name="asset_type" value="file" />

	{{#parent_id}}
	<p class="smalltext fadedtext"><a href="{{www_path}}/assets/edit/{{parent_id}}"><strong>return to parent asset</strong></a></p>
	{{/parent_id}}

	<label for="asset_title">Title / Name</label>
	<input type="text" id="asset_title" name="asset_title" value="{{title}}" class="required" />

	<label for="asset_description">Description</label>
	<textarea rows="3" id="asset_description" name="asset_description">{{description}}</textarea>

		<div class="pure-u-1 pure-u-md-1-2">
			<label for="connection_id">Which storage connection?</label>
			<select id="connection_id" name="connection_id">
				{{{connection_options}}}
			</select>
		</div><!--pure-->

		<div class="pure-u-1 pure-u-md-1-2">
			<label for="asset_location">Location (URI)</label>
			<input type="text" id="asset_location" name="asset_location" value="{{location}}" />
			<div class="drawer noprefix upload-corral">
				<small class="fadedtext"><svg class="icon" viewBox="0 0 271 198"><use xlink:href="#icon-cloud"></use></svg>Using a hosting connection? <a href="#" data-upload-endpoint="{{{www_path}}}/assets/uploadform/" class="drawerhandle usecolor2 file-upload-trigger">Upload a file</a></small>
				<div class="drawercontent"></div>
			</div>
		</div><!--pure-->

	{{#parent_id}}
		<input type="hidden" name="parent_id" value="{{parent_id}}" />
	{{/parent_id}}

		<h4>Additional actions</h4>

			<div class="pure-u-1 pure-u-md-1-2 spacedtext">
				<p><span class="fadedtext"><svg class="icon" viewBox="0 0 262 211"><use xlink:href="#icon-card"></use></svg>Selling out? </span><a href="{{www_path}}/commerce/items/add/selectedasset/{{id}}" class="lightboxed returntocurrentroute"><span><strong>Define commerce settings</strong></span></a></p>

				<p><span class="fadedtext"><svg class="icon" viewBox="0 0 241 241"><use xlink:href="#icon-ban"></use></svg> Need it gone? </span><a href="{{www_path}}/assets/delete/{{id}}" class="usecolor2 needsconfirmation"><span><strong>Delete this file</strong></span></a>
				</p>
				{{#show_make_public}}
					<p>
					<span class="fadedtext"><svg class="icon" viewBox="0 0 180 240"><use xlink:href="#icon-unlock"></use></svg> Don't need security?</span > <a href="#" data-publicize-endpoint="{{{www_path}}}/ajax/publicizeasset/{{id}}" class="usecolor2"><span><strong>Make this file public</strong></span></a>
					</p>
				{{/show_make_public}}

				<button class="nojs" type="submit">Save changes</button>
				
		<button class="onlyjs externalsubmit" data-cash-target-form="#edit-file-form" type="submit">Save changes</button>
</form>
			</div><!--pure-->

			<div class="pure-u-1 pure-u-md-1-2 spacedtext">
				<div class="drawer noprefix">
					<p><span class="fadedtext"><svg class="icon" viewBox="0 0 260 240"><use xlink:href="#icon-dwnld"></use></svg>Need download codes?</span></p><a class="drawerhandle usecolor2">Export or create codes</a>
					<div class="drawercontent">
						<p>
						{{#asset_codes_count}}
							<span>There are {{asset_codes_count}} codes for this asset. <a class="usecolor2 noajax" href="{{www_path}}/assets/edit/{{id}}?exportcodes=1"><strong>Export them!</strong></a></span >
						{{/asset_codes_count}}
						{{^asset_codes_count}}
							<span>There are no download codes for this asset.</span>
						{{/asset_codes_count}}
						</p>
						<form accept-charset="UTF-8" method="post" action="{{www_path}}/assets/edit/{{id}}">

						<label for="add_codes_qty">Add (qty) more codes</label>
							<div class="pure-u-1 pure-u-md-1-2">
								<input type="text" name="add_codes_qty" id="add_codes_qty" value="500" />
							</div><!--pure-->
							<div class="pure-u-1 pure-u-md-1-2">
								<button type="submit">Add codes</button>
							</div><!--pure-->
					</div><!--drawercontent-->
				</div><!--drawer-->
			</div><!--pure-->
	

{'fraction_non_alphanumeric': 0.22343054869006426, 'fraction_numerical': 0.017795353435491844, 'mean_word_length': 4.772467902995721, 'pattern_counts': {'":': 0, '<': 273, '<?xml version=': 0, '>': 273, 'https://': 0, 'lorem ipsum': 0, 'www.': 16, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3110081', 'n_tokens_mistral': 3237, 'n_tokens_neox': 2728, 'n_words': 491}