<commit_before>﻿<div>
	<h1>National ABS Website or Database</h1>

	<div ng-show="isLoading()">
		<div class="loadProgress" progress="1" timeout="1500"></div>
	</div>

	<div class="alert alert-error" ng-show="hasError()">
		<strong>Error as occured...</strong>
		<div>{{error}}</div>
	</div>

	<div class="row" ng-show="!isLoading()&&status!='hidden'">

		<div style="position: relative">

			<div style="position: absolute; top: 0px; right: 0px">
				<span km-form-languages ng-model="document.header.languages"></span>
				<span km-form-std-buttons document="document" on-post-close="onPostClose()" on-error="onError(error, errorCode)" on-post-workflow="onPostWorkflow(data)" on-post-publish="onPostPublish(data)" on-post-save-draft="onPostSaveDraft(data)" on-pre-save-draft="onPreSaveDraft()" on-pre-publish="onPrePublish()"></span>
			</div>

			<div>
				<ul class="pagination">
				  <li ng-class="{ disabled: tab=='general' }"><a href="" ng-click="tab='general'">&laquo;</a></li>
				  <li ng-class="{ active  : tab=='general' }"><a href="" ng-click="tab='general'">General</a></li>
				  <li ng-class="{ active  : tab=='review'  }"><a href="" ng-click="tab='review'">Review</a></li>
				  <li ng-class="{ disabled: tab=='review'  }"><a href="" ng-click="tab='review'">&raquo;</a></li>
				</ul>

				<div class="tab-content" style="overflow:visible;margin-top:10px">
					<form name="editForm">
						<div km-tab="general">
							<legend>Website or Database details </legend>
							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="government" required caption="Country">
										<div class="alert alert-info" ng-show="userGovernment()"><i class="icon-hand-right"></i>You cannot change this value.</div>
										<div km-select required name="government" ng-disabled="userGovernment()" ng-model="document.government" items="options.countries()" placeholder="Please select a country..."></div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="title" required caption="Website or database name">
										<div class="help-block">Please enter the name of the website or database as you would like it to appear in the title of the record.</div>
										<div km-textbox-ml required name="title" ng-model="document.title" locales="document.header.languages" placeholder="example: The title"></div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="description" required caption="Description">
										<div class="help-block">Please enter a short description of the national website or database, such as its function or information it makes available.</div>
										<div km-textbox-ml required name="description" ng-model="document.description" rows="4" locales="document.header.languages" placeholder="example: The description"></div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="website" required caption="Website address">
										<div class="help-block">Please provide the full URL of the website (e.g. http://www.cbd.int).</div>
										<input type="url" ng-model="document.website.url" required class="form-control" placeholder="example: http://www.cbd.int" />
									</div>
								</div>
							</div>

							<legend>Additional information</legend>

							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="address" caption="Any other relevant information">
										<div class="help-block">Please use this field to provide any other relevant information that may not have been addressed elsewhere in the record.</div>
										<div km-textbox-ml ng-model="document.relevantInformation" rows="4" placeholder="" locales="document.header.languages"></div>
									</div>
								</div>
							</div>

							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="relevantDocuments" caption="Any other relevant documents">
										<div km-link name="relevantDocuments" ng-model="document.relevantDocuments" allow-link="true" allow-file="true" identifier="document.header.identifier"></div>
									</div>
								</div>
							</div>

							<div class="row">
								<div class="col-md-12">
									<div class="km-control-group" name="notes" caption="Notes">
										<span class="help-block">
											The field “Notes” is for personal reference and can be seen only when the record is being edited.
										</span>
										<textarea class="form-control" rows="4" name="notes" ng-model="document.notes" ></textarea>
									</div>
								</div>
							</div>
						</div>
					</form>

					<div km-tab="review">

						<div km-document-validation ng-model="validationReport"></div>

						<div class="btn-group" ng-show="document.header.languages.length>1">
							<input type="button" class="btn" ng-class="{'active' : review.locale==locale, 'btn-info' : review.locale==locale}" ng-repeat="locale in document.header.languages" ng-click="$parent.review.locale = locale" value="{{locale | uppercase}}" />
						</div>

						<div class="view-database" ng-model="document" locale="review.locale" link-target="_blank"></div>

					</div>
				</div>

				<ul class="pagination">
				  <li ng-class="{ disabled: tab=='general' }"><a href="" ng-click="tab='general'">&laquo;</a></li>
				  <li ng-class="{ active  : tab=='general' }"><a href="" ng-click="tab='general'">General</a></li>
				  <li ng-class="{ active  : tab=='review'  }"><a href="" ng-click="tab='review'">Review</a></li>
				  <li ng-class="{ disabled: tab=='review'  }"><a href="" ng-click="tab='review'">&raquo;</a></li>
				</ul>

			</div>
		</div>
	</div><commit_msg>* Update form header and footer<commit_after>﻿<div>
	<h1>National ABS Website or Database</h1>

	<div ng-show="isLoading()">
		<div class="loadProgress" progress="1" timeout="1500"></div>
	</div>

	<div class="alert alert-error" ng-show="hasError()">
		<strong>Error as occured...</strong>
		<div>{{error}}</div>
	</div>

	<div class="row" ng-show="!isLoading()&&status!='hidden'">

		<div style="position: relative">

			<div class="row">

				<div class="col-xs-12 visible-xs">
					<div class="">
						<span km-form-languages ng-model="document.header.languages"></span>
						<span km-form-std-buttons document="document" on-post-close="onPostClose()" on-error="onError(error, errorCode)" on-post-workflow="onPostWorkflow(data)" on-post-publish="onPostPublish(data)" on-post-save-draft="onPostSaveDraft(data)" on-pre-save-draft="onPreSaveDraft()" on-pre-publish="onPrePublish()"></span>
					</div>
				</div>

				<div class="col-sm-8 col-xs-12">
					<ul class="pagination">
						<li ng-class="{ disabled: tab=='general' }"><a href="" ng-click="tab='general'">&laquo;</a></li>
						<li ng-class="{ active  : tab=='general' }"><a href="" ng-click="tab='general'">General</a></li>
						<li ng-class="{ active  : tab=='review'  }"><a href="" ng-click="tab='review'">Review</a></li>
						<li ng-class="{ disabled: tab=='review'  }"><a href="" ng-click="tab='review'">&raquo;</a></li>
					</ul>
				</div>

				<div class="col-sm-4 hidden-xs" style="text-align:right">
					<div class="pagination">
						<span km-form-languages ng-model="document.header.languages"></span>
						<span km-form-std-buttons document="document" on-post-close="onPostClose()" on-error="onError(error, errorCode)" on-post-workflow="onPostWorkflow(data)" on-post-publish="onPostPublish(data)" on-post-save-draft="onPostSaveDraft(data)" on-pre-save-draft="onPreSaveDraft()" on-pre-publish="onPrePublish()"></span>
					</div>
				</div>
			</div>

			<div>

				<div class="tab-content" style="overflow:visible;margin-top:10px">
					<form name="editForm">
						<div km-tab="general">
							<legend>Website or Database details </legend>
							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="government" required caption="Country">
										<div class="alert alert-info" ng-show="userGovernment()"><i class="icon-hand-right"></i>You cannot change this value.</div>
										<div km-select required name="government" ng-disabled="userGovernment()" ng-model="document.government" items="options.countries()" placeholder="Please select a country..."></div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="title" required caption="Website or database name">
										<div class="help-block">Please enter the name of the website or database as you would like it to appear in the title of the record.</div>
										<div km-textbox-ml required name="title" ng-model="document.title" locales="document.header.languages" placeholder="example: The title"></div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="description" required caption="Description">
										<div class="help-block">Please enter a short description of the national website or database, such as its function or information it makes available.</div>
										<div km-textbox-ml required name="description" ng-model="document.description" rows="4" locales="document.header.languages" placeholder="example: The description"></div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="website" required caption="Website address">
										<div class="help-block">Please provide the full URL of the website (e.g. http://www.cbd.int).</div>
										<input type="url" ng-model="document.website.url" required class="form-control" placeholder="example: http://www.cbd.int" />
									</div>
								</div>
							</div>

							<legend>Additional information</legend>

							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="address" caption="Any other relevant information">
										<div class="help-block">Please use this field to provide any other relevant information that may not have been addressed elsewhere in the record.</div>
										<div km-textbox-ml ng-model="document.relevantInformation" rows="4" placeholder="" locales="document.header.languages"></div>
									</div>
								</div>
							</div>

							<div class="row">
								<div class="col-md-10">
									<div class="km-control-group" name="relevantDocuments" caption="Any other relevant documents">
										<div km-link name="relevantDocuments" ng-model="document.relevantDocuments" allow-link="true" allow-file="true" identifier="document.header.identifier"></div>
									</div>
								</div>
							</div>

							<div class="row">
								<div class="col-md-12">
									<div class="km-control-group" name="notes" caption="Notes">
										<span class="help-block">
											The field “Notes” is for personal reference and can be seen only when the record is being edited.
										</span>
										<textarea class="form-control" rows="4" name="notes" ng-model="document.notes" ></textarea>
									</div>
								</div>
							</div>
						</div>
					</form>

					<div km-tab="review">

						<div km-document-validation ng-model="validationReport"></div>

						<div class="btn-group" ng-show="document.header.languages.length>1">
							<input type="button" class="btn" ng-class="{'active' : review.locale==locale, 'btn-info' : review.locale==locale}" ng-repeat="locale in document.header.languages" ng-click="$parent.review.locale = locale" value="{{locale | uppercase}}" />
						</div>

						<div class="view-database" ng-model="document" locale="review.locale" link-target="_blank"></div>

					</div>
				</div>

				<div class="row">

					<div class="col-sm-9 col-xs-12">
						<ul class="pagination">
							<li ng-class="{ disabled: tab=='general' }"><a href="" ng-click="tab='general'">&laquo;</a></li>
							<li ng-class="{ active  : tab=='general' }"><a href="" ng-click="tab='general'">General</a></li>
							<li ng-class="{ active  : tab=='review'  }"><a href="" ng-click="tab='review'">Review</a></li>
							<li ng-class="{ disabled: tab=='review'  }"><a href="" ng-click="tab='review'">&raquo;</a></li>
						</ul>	
					</div>

					<div class="col-sm-3 hidden-xs" style="text-align:right">
						<div class="pagination">
							<span km-form-std-buttons document="document" on-post-close="onPostClose()" on-error="onError(error, errorCode)" on-post-workflow="onPostWorkflow(data)" on-post-publish="onPostPublish(data)" on-post-save-draft="onPostSaveDraft(data)" on-pre-save-draft="onPreSaveDraft()" on-pre-publish="onPrePublish()"></span>
						</div>
					</div>

					<div class="col-xs-12 visible-xs">
						<div class="">
							<span km-form-std-buttons document="document" on-post-close="onPostClose()" on-error="onError(error, errorCode)" on-post-workflow="onPostWorkflow(data)" on-post-publish="onPostPublish(data)" on-post-save-draft="onPostSaveDraft(data)" on-pre-save-draft="onPreSaveDraft()" on-pre-publish="onPrePublish()"></span>
						</div>
					</div>
				</div>

				<ul class="pagination">
				</ul>

			</div>
		</div>
	</div>
{'fraction_non_alphanumeric': 0.19085620525059666, 'fraction_numerical': 0.005071599045346062, 'mean_word_length': 3.373450750163079, 'pattern_counts': {'":': 0, '<': 333, '<?xml version=': 0, '>': 335, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5445406', 'n_tokens_mistral': 5556, 'n_tokens_neox': 4095, 'n_words': 911}