<commit_before><form accept-charset="UTF-8" method="post" action="" id="add-release-form">
	<fieldset class="pure-u-1">
		<input type="hidden" name="doassetedit" value="makeitso" />
		<input type="hidden" name="asset_type" value="release" />
		<h4>Release Details</h4>
			<div class="pure-u-1 pure-u-md-1-3">
				<!--<style type="text/css">
					.release-cover a {{{#cover_asset_id}}color:#fff;{{/cover_asset_id}}}
				</style>-->

				<div class="release-cover " style="background-image:url({{cover_url}});">
					<div class="release-cover-options">
						{{#cover_asset_id}}
							<a href="{{www_path}}/assets/edit/{{cover_asset_id}}" class="smalltext"><span class="editcover"><svg class="icon" viewBox="0 0 248 215"><use xlink:href="#icon-camera"></use></svg><strong>Add/edit cover</strong></span></a>
						{{/cover_asset_id}}
						{{^cover_asset_id}}
							<a href="{{www_path}}/assets/add/file/setparent/{{id}}/setmetadata/cover" class="lightboxed returntocurrentroute smalltext"><span class="editcover"><svg class="icon" viewBox="0 0 248 215"><use xlink:href="#icon-camera"></use></svg><strong>Add/edit cover</strong></span></a>
						{{/cover_asset_id}}
					</div><!--release-cover-options-->
				</div><!--release-cover-->

				<input type="hidden" id="metadata_cover" name="metadata_cover" value="{{cover_asset_id}}" />
				<!--div class="track-list">
					<h5>Track List</h5>
					<ol class="alternating">
						<li>Track Title</li>
						<li>Track Title</li>
						<li>Track Title</li>
						<li>Track Title</li>
						<li>Track Title</li>
					</ol>
					<a href="#" class="add-track"><i class="icon icon-plus-sign"></i>Add Track</a>
				</div-->
			</div><!--pure-->

			<div class="release-general-info pure-u-1 pure-u-md-2-3">
					<label >Release Title <input type="text" id="asset_title" name="asset_title" value="{{title}}" placeholder="Give It A Name" class="required" /></label>
					<label>Artist Name <input  class="pure-u-1"type="text" id="artist_name" name="artist_name" value="{{metadata_artist_name}}" placeholder="The Who" /></label>
					<div class="pure-u-1 pure-u-md-1-2">
						<label class="col_oneoftwo">Release Date <input type="text" id="release_date" name="release_date" class="date" placeholder="mm/dd/yyyy" value="{{metadata_release_date}}" /></label>
					</div><!--pure-->
					<div class="pure-u-1 pure-u-md-1-2">
						<label class="col_oneoftwo lastcol">Matrix/Catalog Number <input type="text" id="matrix_number" name="matrix_number" value="{{metadata_matrix_number}}" /></label>
					</div><!--pure-->
					<div class="fulfillment-files">
						<label>Fulfillment Files</label>
						{{#fulfillment_files}}
						<ul class="alternating">
						{{/fulfillment_files}}
						{{#fulfillment_files}}
						<li>
							<a class="primary" href="{{www_path}}/assets/edit/{{id}}"><strong>{{title}}</strong>{{#description}}<span class="descriptive spaced fadedtext">{{description}}</span>{{/description}}</a>
							<div class="more">
								<div class="toggle"></div><!--toggle-->
								<div class="actions">
									<a href="{{www_path}}/assets/edit/{{id}}" class="mininav_flush"><svg class="icon" viewBox="0 0 238 237"><use xlink:href="#icon-pencil"></use></svg>Edit</a>
									<a href="{{www_path}}/assets/delete/{{id}}" class="mininav_flush needsconfirmation"><svg class="icon" viewBox="0 0 241 241"><use xlink:href="#icon-ban"></use></svg> Delete</a>
								</div><!--actions-->
							</div><!--more-->
						</li>
						{{/fulfillment_files}}
						{{#fulfillment_files}}
						</ul>
						{{/fulfillment_files}}
						{{^fulfillment_files}}
							<p>No files have been added for fulfillment yet.</p>
						{{/fulfillment_files}}
						<a href="{{www_path}}/assets/add/file/setparent/{{id}}/addtometadata/fulfillment" class="add-fulfillment-file lightboxed returntocurrentroute smalltext"><svg class="icon" viewBox="0 0 240 240"><use xlink:href="#icon-plus"></use></svg><strong>Add New File</strong></a>
						<input type="hidden" id="metadata_fulfillment" name="metadata_fulfillment" value="{{metadata_fulfillment_json}}" />
					</div><!--fullfillment-files-->
			</div><!--release-general-info-->
	</fieldset>

	<h4>Additional Fields</h4>
	<div class="pure-u-1">	
		<div class="drawer">
			<a class="meta drawerhandle">standard metadata</a>
			<div class="drawercontent">
				<fieldset>
						<div class="pure-u-1 pure-u-md-1-2">
							<label>Label Name <input type="text" id="label_name" name="label_name" value="{{metadata_label_name}}" placeholder="" /></label>
							<label>Copyright <textarea id="copyright" name="copyright">{{metadata_copyright}}</textarea></label>
						</div><!--pure-->
						<div class="pure-u-1 pure-u-md-1-2">
							<label>Genre <input type="text" id="genre" name="genre" value="{{metadata_genre}}" placeholder="" /></label>
							<label>Publishing <textarea id="publishing" name="publishing">{{metadata_publishing}}</textarea></label>
						</div><!--pure-->
					<!--div>
						<label>Formats/UPC Codes</label>
						<ul class="alternating">
							<li>
								<select name="format" class="col_oneoftwo">
									<option>CD</option>
									<option>Digital</option>
									<option>LP</option>
									<option>Cassette</option>
								</select>
								<input type="text" id="formatType-upc" name="formatType-upc" value="" placeholder="123456789" class="col_oneoftwo" />
								<a href="#" class="mininav_flush needsconfirmation"><i class="icon icon-ban-circle"></i> <span class="visuallyhidden">Delete</span></a>
							</li>
						</ul>
						<a href="#" class="add-format"><i class="icon icon-plus-sign smalltext"></i>Add New Format</a>
					</div-->
				</fieldset>
			</div><!--drawercontent-->
		</div><!--drawer-->

		<div class="drawer">
			<a class="meta drawerhandle">press/PR information</a>
			<div class="drawercontent">
				<fieldset>
					<div class="pure-u-1 pure-u-md-1-2">
						<label class="col_oneoftwo">Publicist's Name <input type="text" id="publicist_name" name="publicist_name" value="{{metadata_publicist_name}}" placeholder="" /></label>
					</div><!--pure-->
					<div class="pure-u-1 pure-u-md-1-2">
						<label class="col_oneoftwo lastcol">Publicist's Email<input type="text" id="publicist_email" name="publicist_email" value="{{metadata_publicist_email}}" placeholder="" /></label>
					</div><!--pure-->
					<label>Bio / Onesheet<textarea id="onesheet" name="onesheet" class="tall">{{metadata_onesheet}}</textarea></label>
				</fieldset>
			</div><!--drawercontent-->
		</div><!--drawer-->

		<!-- div class="drawer">
			<a class="drawerhandle">miscellaneous</a>
			<div class="drawercontent">
				<fieldset>
					<div class="private-files pure-u-1 pure-u-md-1-2">
						<label>Private Files</label>
						{{#private_files}}
							<ul class="alternating">
						{{/private_files}}
						{{#private_files}}
							<li>
								<strong>{{title}}</strong>
								{{description}}
								<div class="smalltext">
									<a href="{{www_path}}/assets/edit/{{id}}" class="mininav_flush"><i class="icon icon-pencil"></i>Edit</a>
									<a href="{{www_path}}/assets/delete/{{id}}" class="mininav_flush needsconfirmation"><i class="icon icon-ban-circle"></i> Delete</a>
								</div>
							</li>
						{{/private_files}}
						{{#private_files}}
						</ul>
						{{/private_files}}
						{{^private_files}}
							<p>No private storage files have been added.</p>
						{{/private_files}}
						<a href="{{www_path}}/assets/add/file/setparent/{{id}}/addtometadata/private"  class="add-private-file lightboxed returntocurrentroute smalltext"><i class="icon icon-plus-sign"></i> <strong>Add New File</strong></a>
						<input type="hidden" id="metadata_private" name="metadata_private" value="{{metadata_private_json}}" />
				</fieldset>
			</div>
		</div -->
	</div><!--pure-->

	<div class="pure-u-1 pure-u-md-1-2">
	<div class="drawer noprefix">
			<span class="fadedtext"><svg class="icon" viewBox="0 0 260 240"><use xlink:href="#icon-dwnld"></use></svg> Need download codes?</span><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"><b>Export them!</b></a></span>
				{{/asset_codes_count}}
				{{^asset_codes_count}}
					<span>There are no download codes for this asset.</span>
				{{/asset_codes_count}}
				</p>
				<form id="export-dwnld-codes" 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-4">
						<input type="text" name="add_codes_qty" id="add_codes_qty" value="500" />
					</div><!--pure-->
					<div class="pure-u-1 pure-u-md-1-4">
						<button type="submit"><svg class="icon" viewBox="0 0 280 220"><use xlink:href="#icon-list"></use></svg> add codes</button>
					</div><!--pure-->
				</form><!--export-dwnld-codes-->
			</div><!--drawercontent-->
	</div><!--drawer-->
	</div><!--pure-->
	<div class="pure-u-1 pure-u-md-1-2">
		<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 release</strong></span></a></p>
	</div><!--pure-->

	<button class="nojs" type="submit">Save changes</button>
</form><!--add-release-form-->

<button class="onlyjs externalsubmit" data-cash-target-form="#edit-file-form" type="submit">Save changes</button>
<commit_msg>form submission bug fix<commit_after><form accept-charset="UTF-8" method="post" action="" id="add-release-form">
	<fieldset class="pure-u-1">
		<input type="hidden" name="doassetedit" value="makeitso" />
		<input type="hidden" name="asset_type" value="release" />
		<h4>Release Details</h4>
			<div class="pure-u-1 pure-u-md-1-3">
				<!--<style type="text/css">
					.release-cover a {{{#cover_asset_id}}color:#fff;{{/cover_asset_id}}}
				</style>-->

				<div class="release-cover " style="background-image:url({{cover_url}});">
					<div class="release-cover-options">
						{{#cover_asset_id}}
							<a href="{{www_path}}/assets/edit/{{cover_asset_id}}" class="smalltext"><span class="editcover"><svg class="icon" viewBox="0 0 248 215"><use xlink:href="#icon-camera"></use></svg><strong>Add/edit cover</strong></span></a>
						{{/cover_asset_id}}
						{{^cover_asset_id}}
							<a href="{{www_path}}/assets/add/file/setparent/{{id}}/setmetadata/cover" class="lightboxed returntocurrentroute smalltext"><span class="editcover"><svg class="icon" viewBox="0 0 248 215"><use xlink:href="#icon-camera"></use></svg><strong>Add/edit cover</strong></span></a>
						{{/cover_asset_id}}
					</div><!--release-cover-options-->
				</div><!--release-cover-->

				<input type="hidden" id="metadata_cover" name="metadata_cover" value="{{cover_asset_id}}" />
				<!--div class="track-list">
					<h5>Track List</h5>
					<ol class="alternating">
						<li>Track Title</li>
						<li>Track Title</li>
						<li>Track Title</li>
						<li>Track Title</li>
						<li>Track Title</li>
					</ol>
					<a href="#" class="add-track"><i class="icon icon-plus-sign"></i>Add Track</a>
				</div-->
			</div><!--pure-->

			<div class="release-general-info pure-u-1 pure-u-md-2-3">
					<label >Release Title <input type="text" id="asset_title" name="asset_title" value="{{title}}" placeholder="Give It A Name" class="required" /></label>
					<label>Artist Name <input  class="pure-u-1"type="text" id="artist_name" name="artist_name" value="{{metadata_artist_name}}" placeholder="The Who" /></label>
					<div class="pure-u-1 pure-u-md-1-2">
						<label class="col_oneoftwo">Release Date <input type="text" id="release_date" name="release_date" class="date" placeholder="mm/dd/yyyy" value="{{metadata_release_date}}" /></label>
					</div><!--pure-->
					<div class="pure-u-1 pure-u-md-1-2">
						<label class="col_oneoftwo lastcol">Matrix/Catalog Number <input type="text" id="matrix_number" name="matrix_number" value="{{metadata_matrix_number}}" /></label>
					</div><!--pure-->
					<div class="fulfillment-files">
						<label>Fulfillment Files</label>
						{{#fulfillment_files}}
						<ul class="alternating">
						{{/fulfillment_files}}
						{{#fulfillment_files}}
						<li>
							<a class="primary" href="{{www_path}}/assets/edit/{{id}}"><strong>{{title}}</strong>{{#description}}<span class="descriptive spaced fadedtext">{{description}}</span>{{/description}}</a>
							<div class="more">
								<div class="toggle"></div><!--toggle-->
								<div class="actions">
									<a href="{{www_path}}/assets/edit/{{id}}" class="mininav_flush"><svg class="icon" viewBox="0 0 238 237"><use xlink:href="#icon-pencil"></use></svg>Edit</a>
									<a href="{{www_path}}/assets/delete/{{id}}" class="mininav_flush needsconfirmation"><svg class="icon" viewBox="0 0 241 241"><use xlink:href="#icon-ban"></use></svg> Delete</a>
								</div><!--actions-->
							</div><!--more-->
						</li>
						{{/fulfillment_files}}
						{{#fulfillment_files}}
						</ul>
						{{/fulfillment_files}}
						{{^fulfillment_files}}
							<p>No files have been added for fulfillment yet.</p>
						{{/fulfillment_files}}
						<a href="{{www_path}}/assets/add/file/setparent/{{id}}/addtometadata/fulfillment" class="add-fulfillment-file lightboxed returntocurrentroute smalltext"><svg class="icon" viewBox="0 0 240 240"><use xlink:href="#icon-plus"></use></svg><strong>Add New File</strong></a>
						<input type="hidden" id="metadata_fulfillment" name="metadata_fulfillment" value="{{metadata_fulfillment_json}}" />
					</div><!--fullfillment-files-->
			</div><!--release-general-info-->
	</fieldset>

	<h4>Additional Fields</h4>
	<div class="pure-u-1">	
		<div class="drawer">
			<a class="meta drawerhandle">standard metadata</a>
			<div class="drawercontent">
				<fieldset>
						<div class="pure-u-1 pure-u-md-1-2">
							<label>Label Name <input type="text" id="label_name" name="label_name" value="{{metadata_label_name}}" placeholder="" /></label>
							<label>Copyright <textarea id="copyright" name="copyright">{{metadata_copyright}}</textarea></label>
						</div><!--pure-->
						<div class="pure-u-1 pure-u-md-1-2">
							<label>Genre <input type="text" id="genre" name="genre" value="{{metadata_genre}}" placeholder="" /></label>
							<label>Publishing <textarea id="publishing" name="publishing">{{metadata_publishing}}</textarea></label>
						</div><!--pure-->
					<!--div>
						<label>Formats/UPC Codes</label>
						<ul class="alternating">
							<li>
								<select name="format" class="col_oneoftwo">
									<option>CD</option>
									<option>Digital</option>
									<option>LP</option>
									<option>Cassette</option>
								</select>
								<input type="text" id="formatType-upc" name="formatType-upc" value="" placeholder="123456789" class="col_oneoftwo" />
								<a href="#" class="mininav_flush needsconfirmation"><i class="icon icon-ban-circle"></i> <span class="visuallyhidden">Delete</span></a>
							</li>
						</ul>
						<a href="#" class="add-format"><i class="icon icon-plus-sign smalltext"></i>Add New Format</a>
					</div-->
				</fieldset>
			</div><!--drawercontent-->
		</div><!--drawer-->

		<div class="drawer">
			<a class="meta drawerhandle">press/PR information</a>
			<div class="drawercontent">
				<fieldset>
					<div class="pure-u-1 pure-u-md-1-2">
						<label class="col_oneoftwo">Publicist's Name <input type="text" id="publicist_name" name="publicist_name" value="{{metadata_publicist_name}}" placeholder="" /></label>
					</div><!--pure-->
					<div class="pure-u-1 pure-u-md-1-2">
						<label class="col_oneoftwo lastcol">Publicist's Email<input type="text" id="publicist_email" name="publicist_email" value="{{metadata_publicist_email}}" placeholder="" /></label>
					</div><!--pure-->
					<label>Bio / Onesheet<textarea id="onesheet" name="onesheet" class="tall">{{metadata_onesheet}}</textarea></label>
				</fieldset>
			</div><!--drawercontent-->
		</div><!--drawer-->

		<!-- div class="drawer">
			<a class="drawerhandle">miscellaneous</a>
			<div class="drawercontent">
				<fieldset>
					<div class="private-files pure-u-1 pure-u-md-1-2">
						<label>Private Files</label>
						{{#private_files}}
							<ul class="alternating">
						{{/private_files}}
						{{#private_files}}
							<li>
								<strong>{{title}}</strong>
								{{description}}
								<div class="smalltext">
									<a href="{{www_path}}/assets/edit/{{id}}" class="mininav_flush"><i class="icon icon-pencil"></i>Edit</a>
									<a href="{{www_path}}/assets/delete/{{id}}" class="mininav_flush needsconfirmation"><i class="icon icon-ban-circle"></i> Delete</a>
								</div>
							</li>
						{{/private_files}}
						{{#private_files}}
						</ul>
						{{/private_files}}
						{{^private_files}}
							<p>No private storage files have been added.</p>
						{{/private_files}}
						<a href="{{www_path}}/assets/add/file/setparent/{{id}}/addtometadata/private"  class="add-private-file lightboxed returntocurrentroute smalltext"><i class="icon icon-plus-sign"></i> <strong>Add New File</strong></a>
						<input type="hidden" id="metadata_private" name="metadata_private" value="{{metadata_private_json}}" />
				</fieldset>
			</div>
		</div -->
	</div><!--pure-->

	<div class="pure-u-1 pure-u-md-1-2">
	<div class="drawer noprefix">
			<span class="fadedtext"><svg class="icon" viewBox="0 0 260 240"><use xlink:href="#icon-dwnld"></use></svg> Need download codes?</span><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"><b>Export them!</b></a></span>
				{{/asset_codes_count}}
				{{^asset_codes_count}}
					<span>There are no download codes for this asset.</span>
				{{/asset_codes_count}}
				</p>
				<form id="export-dwnld-codes" 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-4">
						<input type="text" name="add_codes_qty" id="add_codes_qty" value="500" />
					</div><!--pure-->
					<div class="pure-u-1 pure-u-md-1-4">
						<button type="submit"><svg class="icon" viewBox="0 0 280 220"><use xlink:href="#icon-list"></use></svg> add codes</button>
					</div><!--pure-->
			</div><!--drawercontent-->
	</div><!--drawer-->
	</div><!--pure-->
	<div class="pure-u-1 pure-u-md-1-2">
		<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 release</strong></span></a></p>
	</div><!--pure-->

	<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><!--add-release-form-->
{'fraction_non_alphanumeric': 0.22063196089301013, 'fraction_numerical': 0.013909187118883233, 'mean_word_length': 3.9984886649874056, 'pattern_counts': {'":': 0, '<': 673, '<?xml version=': 0, '>': 673, 'https://': 0, 'lorem ipsum': 0, 'www.': 26, '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': '419857', 'n_tokens_mistral': 8371, 'n_tokens_neox': 6597, 'n_words': 1134}