<commit_before><div class="container" data-ng-cloak>
<h2 style="font-weight:normal">Settings</h2>
<form data-ng-submit="" name="settingsForm">
<button class="btn btn-primary pull-right" type="submit"><i class="icon-ok"></i> Apply</button>
<tabset>
	<tab heading="Writing Systems">
		<div data-ng-include="'/angular-app/languageforge/lexicon/views/writing-systems.html'"></div>
	</tab>
	<tab heading="Fields">
		<div class="row">
		
		<!-- Left column: field list -->
		<div class="span4">
			<fieldset>
			<legend>Show the following fields:</legend>
			<div class="picklists">
			<ul class="unstyled">
				<li data-ng-click="selectField(fieldId)" data-ng-repeat="(fieldId, field) in config.entry.fieldNames" data-ng-class="{selected:currentFieldId == fieldId}">
					<div class="checkbox"><input data-ng-model="currentFieldsEnabled[fieldId]" type="checkbox"/>{{field}}</div>
				</li>
			</ul>
			</div>
			</fieldset>
			
			<br />
			<pre>{{config|json}}</pre>
		</div>
		
		<!-- Right column: field setup -->
		<div class="span8">
			<fieldset>
				<legend>Setup for "selected field"</legend>
				<div class="well">
					<div class="control-group">
						<label class="control-label" for="displayName">Name for display</label>
						<div class="controls">
							<input type="text" id="displayName" data-ng-model="unknown">
						</div>
						<div class="checkbox">
							<input type="checkbox" data-ng-model="currentField.hidden"/>Hidden if empty
						</div>
					</div>
					<hr />
					
					<div class="control-group">
						<label class="control-label" for="wsList">Writing System</label>
						<ul class="unstyled"  id="wsList">
							<li data-ng-click="selectList(writingSystemId)" data-ng-repeat="(writingSystemId, writingSystem) in config.writingsystems.map">
								<div class="checkbox"><input data-ng-model="currentListsEnabled[writingSystemId]" type="checkbox"/>{{writingSystem}}</div>
							</li>
						</ul>
					</div>
					<a data-ng-show="editWritingSystemsCollapsed" href="" data-ng-click="editWritingSystemsCollapsed = false">Edit writing systems</a>
					
					<div data-collapse="editWritingSystemsCollapsed">
						<hr />
						<button class="btn btn-primary pull-right" data-ng-click="saveWritingSystems()"><i class="icon-ok"></i> Done</button>
						<h3 style="font-weight:normal">Edit Writing Systems</h3>
						<div data-ng-include="'/angular-app/languageforge/lexicon/views/writing-systems.html'">
						</div>
					</div>
				</div>
			</fieldset>
		</div>
		</div>
	</tab>
	<tab heading="Tasks">
		<div class="row">
		
		<!-- Left column: task list -->
		<div class="span4"><commit_msg>fix edit writing systems button<commit_after><div class="container" data-ng-cloak>
<h2 style="font-weight:normal">Settings</h2>
<form data-ng-submit="" name="settingsForm">
<button class="btn btn-primary pull-right" type="submit"><i class="icon-ok"></i> Apply</button>
<tabset>
	<tab heading="Writing Systems">
		<div data-ng-include="'/angular-app/languageforge/lexicon/views/writing-systems.html'"></div>
	</tab>
	<tab heading="Fields">
		<div class="row">
		
		<!-- Left column: field list -->
		<div class="span4">
			<fieldset>
			<legend>Show the following fields:</legend>
			<div class="picklists">
			<ul class="unstyled">
				<li data-ng-click="selectField(fieldId)" data-ng-repeat="(fieldId, field) in config.entry.fieldNames" data-ng-class="{selected:currentFieldId == fieldId}">
					<div class="checkbox"><input data-ng-model="currentFieldsEnabled[fieldId]" type="checkbox"/>{{field}}</div>
				</li>
			</ul>
			</div>
			</fieldset>
			
			<br />
			<pre>{{config|json}}</pre>
		</div>
		
		<!-- Right column: field setup -->
		<div class="span8">
			<fieldset>
				<legend>Setup for "selected field"</legend>
				<div class="well">
					<div class="control-group">
						<label class="control-label" for="displayName">Name for display</label>
						<div class="controls">
							<input type="text" id="displayName" data-ng-model="unknown">
						</div>
						<div class="checkbox">
							<input type="checkbox" data-ng-model="currentField.hidden"/>Hidden if empty
						</div>
					</div>
					<hr />
					
					<div class="control-group">
						<label class="control-label" for="wsList">Writing System</label>
						<ul class="unstyled"  id="wsList">
							<li data-ng-click="selectList(writingSystemId)" data-ng-repeat="(writingSystemId, writingSystem) in config.writingsystems.map">
								<div class="checkbox"><input data-ng-model="currentListsEnabled[writingSystemId]" type="checkbox"/>{{writingSystem}}</div>
							</li>
						</ul>
					</div>
					<a data-ng-show="editWritingSystems.collapsed" href="" data-ng-click="editWritingSystems.collapsed = false">Edit writing systems</a>
					
					<div data-collapse="editWritingSystems.collapsed">
						<hr />
						<button class="btn btn-primary pull-right" data-ng-click="saveWritingSystems()"><i class="icon-ok"></i> Done</button>
						<h3 style="font-weight:normal">Edit Writing Systems</h3>
						<div data-ng-include="'/angular-app/languageforge/lexicon/views/writing-systems.html'">
						</div>
					</div>
				</div>
			</fieldset>
		</div>
		</div>
	</tab>
	<tab heading="Tasks">
		<div class="row">
		
		<!-- Left column: task list -->
		<div class="span4">
{'fraction_non_alphanumeric': 0.19073828050863542, 'fraction_numerical': 0.002657050673752135, 'mean_word_length': 3.7222222222222223, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 171, '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': '3629911', 'n_tokens_mistral': 2147, 'n_tokens_neox': 1682, 'n_words': 321}