Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to create an Handlebars HTML template for the code to render a page for BioSamples related to RNA seqence runs. #56

Open
computate opened this issue Oct 19, 2021 · 0 comments

Comments

@computate
Copy link
Member

Mission to create an Handlebars HTML template for the code to render a page for BioSamples related to RNA seqence runs.

Mission

Your mission, should you choose to accept it, is to create an Handlebars HTML template for the code to render a page for BioSamples related to RNA seqence runs. .

The day of the operation is October 26th, 2021

You will have 4 hours to complete your mission.

An open science project to uncover the planetary virome, freely and openly

You will be joining a team of the boldest

of all Red Hatters for this mission, who will be at your service developing the code and automating the deployment to OpenShift.

  • Should you, or any of your force be taken or compromised that day, you must report back as many changes as you have made, and any knowledge of your actions, by pull request or comments on the issue on the board.

How to get started:

Follow the instructions here to setup the project: https://github.com/team19hackathon2021/serratus-api/

The details of your mission:

create the code

Create a new file: /usr/local/src/serratus-api-static/template/enUS/BioSampleGenPage.hbs

<!--
-->
{{#*inline "htmTitleBioSamplePage"}}		<!-- inline "htmTitleBioSamplePage" -->
		<title>{{#if searchListBioSample_}}{{#eq bioSampleCount int1}}{{#eq params.query.q "*:*"}}biosample{{else}}biosample{{/eq}}{{else}}no biosample found{{/eq}}{{else}}biosamples{{/if}}</title>
{{/inline}}
{{#*inline "htmMetaBioSamplePage"}}{{> "htmMetaBaseModelPage"}}{{/inline}}
{{#*inline "htmStyleBioSamplePage"}}{{> "htmStyleBaseModelPage"}}{{/inline}}
{{#*inline "htmScriptsBioSamplePage"}}{{> "htmScriptsBaseModelPage"}}		<!-- inline "htmScriptsBioSamplePage" -->
		<script src="{{staticBaseUrl}}/js/enUS/BioSamplePage.js"></script>
{{/inline}}
{{#*inline "htmScriptBioSamplePage"}}		<!-- inline "htmScriptBioSamplePage" -->
		<script>
			$(document).ready(function() {
				document.onkeydown = function(evt) {
					evt = evt || window.event;
					var isEscape = false;
					if ('key' in evt) {
						isEscape = (evt.key === 'Escape' || evt.key === 'Esc');
					} else {
						isEscape = (evt.keyCode === 27);
					}
					if (isEscape) {
						$('.w3-modal:visible').hide();
					}
				};
				window.eventBus = new EventBus('/eventbus');
				var pk = {{#if pk}}{{pk}}{{else}}null{{/if}};
				if(pk != null) {
				}
				websocketBioSample(websocketBioSampleInner);
			});
		</script>
{{/inline}}
{{#*inline "htmUrlBioSample"}}{{pageUri}}?q={{query.q}}&rows={{#if rows}}{{rows}}{{else}}{{pagination.rows}}{{/if}}&start={{#if start}}{{start}}{{else}}{{pagination.start}}{{/if}}{{#each query.fq}}{{#eq fq this}}{{else}}&fq={{fq}}:{{val}}{{/eq}}{{/each}}{{#each query.sort}}{{#eq sort this}}{{else}}&sort={{var}} {{order}}{{/eq}}{{/each}}{{/inline}}
{{#*inline "htmHeadBioSamplePage"}}{{> "htmTitleBioSamplePage"}}{{> "htmMetaBioSamplePage"}}{{> "htmStyleBioSamplePage"}}{{> "htmScriptsBioSamplePage"}}{{> "htmScriptBioSamplePage"}}{{/inline}}
{{#*inline "htmBodyCount0BioSamplePage"}}		<!-- #*inline "htmBodyCount0BioSamplePage" -->
		<h1>
			<a href="{{pageUri}}" class="w3-bar-item w3-btn w3-center w3-block w3-pale-green w3-hover-pale-green">
				{{#if contextIconCssClasses}}
					<i class="contextIconCssClasses site-menu-icon "></i>
				{{/if}}
				<span class="">biosamples</span>
			</a>
		</h1>
		<h2>
			<span class="w3-bar-item w3-padding w3-center w3-block w3-pale-green">
				{{#if contextIconCssClasses}}
					<i class="contextIconCssClasses + " site-menu-icon "></i>
				{{/if}}
				<span class="">no biosample found</span>
			</span>
		</h2>
{{/inline}}
{{#*inline "htmBodyCount1AllBioSamplePage"}}		<!-- #*inline "htmBodyCount1AllBioSamplePage" -->
		{{#if pageH1}}
		<h1>
			<a href="{{pageUri}}" class="w3-bar-item w3-btn w3-center w3-block w3-pale-green w3-hover-pale-green">
			{{#if contextIconCssClasses}}
				<i class="contextIconCssClasses site-menu-icon "></i>
			{{/if}}
				<span class="">{{pageH1}}</span>
			</a>
		</h1>
		{{/if}}
		{{#if pageH2}}
		<h2>
			<span class"w3-bar-item w3-padding w3-center w3-block w3-pale-green">
				<span class="">{{pageH2}}</span>
			</span>
		</h2>
		{{/if}}
		{{#if pageH3}}
		<h3>
			<span class="w3-bar-item w3-padding w3-center w3-block w3-pale-green">
				<span class="">{{pageH3}}</span>
			</span>
		</h3>
		{{/if}}
{{#block "htmForm"}}{{/block}}
{{/inline}}
{{#*inline "htmBodyCount1BioSamplePage"}}		<!-- #*inline "htmBodyCount1BioSamplePage" -->
		<h1>
			<a href="{{pageUri}}" class="w3-bar-item w3-btn w3-center w3-block w3-pale-green w3-hover-pale-green">
	{{#if contextIconCssClasses}}
				<i class="contextIconCssClasses + " site-menu-icon "></i>
	{{/if}}
				<span class="">{{pageH1}}</span>
			</a>
		</h1>
		<div>
	{{#if pagination.pagePrevious}}
			<a href="{{pageUri}}?start={{pagination.pagePrevious.start}}&rows={{pagination.rows}}">
				<i class="fas fa-arrow-square-left "></i>
			</a>
	{{else}}
			<i class="fas fa-arrow-square-left w3-opacity "></i>
	{{/if}}
	{{#gte pagination.rowsPrevious pagination.1L}}
			<a href="{{pageUri}}?start={{pagination.start}}&rows={{ pagination.rowsPrevious }}">
				<i class="fas fa-minus-square "></i>
			</a>
	{{else}}
			<i class="fas fa-minus-square w3-opacity "></i>
	{{/gte}}
			<a href="{{pageUri}}?start={{pagination.start}}&rows={{ pagination.rowsNext }}">
				<i class="fas fa-plus-square "></i>
			</a>
	{{#if pagination.pageNext}}
			<a href="{{pageUri}}?start={{pagination.pageNext.start}}&rows={{pagination.rows}}">
				<i class="fas fa-arrow-square-right "></i>
			</a>
	{{else}}
			<i class="fas fa-arrow-square-right w3-opacity "></i>
	{{/if}}
			<span>{{ pagination.startNum }} - {{ pagination.endNum }} of {{ pagination.foundNum }}</span>
		</div>
{{> "table1BioSamplePage"}}
{{/inline}}
{{#*inline "htmBodyAllBioSamplePage"}}		<!-- #*inline "htmBodyAllBioSamplePage" -->
		<h1>
			<a href="{{pageUri}}" class="w3-bar-item w3-btn w3-center w3-block w3-pale-green w3-hover-pale-green">
	{{#if contextIconCssClasses}}
				<i class="contextIconCssClasses + " site-menu-icon "></i>
	{{/if}}
				<span class="">{{pageH1}}</span>
			</a>
		</h1>
		<div class="">
			<div>
	{{#if pagination.pagePrevious}}
				<a href="{{pageUri}}?start={{pagination.pagePrevious.start}}&rows={{pagination.rows}}">
					<i class="fas fa-arrow-square-left "></i>
				</a>
	{{else}}
				<i class="fas fa-arrow-square-left w3-opacity "></i>
	{{/if}}
	{{#gte pagination.rowsPrevious pagination.1L}}
				<a href="{{pageUri}}?start={{pagination.start}}&rows={{ pagination.rowsPrevious }}">
					<i class="fas fa-minus-square "></i>
				</a>
	{{else}}
				<i class="fas fa-minus-square w3-opacity "></i>
	{{/gte}}
				<a href="{{pageUri}}?start={{pagination.start}}&rows={{ pagination.rowsNext }}">
					<i class="fas fa-plus-square "></i>
				</a>
	{{#if pagination.pageNext}}
				<a href="{{pageUri}}?start={{pagination.pageNext.start}}&rows={{pagination.rows}}">
					<i class="fas fa-arrow-square-right "></i>
				</a>
	{{else}}
				<i class="fas fa-arrow-square-right w3-opacity "></i>
	{{/if}}
				<span>{{ pagination.startNum }} - {{ pagination.endNum }} of {{ pagination.foundNum }}</span>
			</div>
{{> "table1BioSamplePage"}}
		</div>
{{/inline}}
{{#*inline "htmFormBioSamplePage"}}	{{#if pk}}
		<!-- #*inline "htmForm" -->
		<form action="" id="BioSampleForm" style="display: inline-block; width: 100%; " onsubmit="event.preventDefault(); return false; ">
			<input name="pk" class="valuePk" type="hidden" value="{{pk}}"/>
			<input name="focusId" type="hidden"/>
		</form>
{{#block "htmForm_searchpageBioSample"}}{{/block}}
	{{/if}}
{{/inline}}
{{#*inline "htmFormBioSamplePage_putimportBioSample"}}
		<button
			class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-pale-green "
			onclick="$('#putimportBioSampleModal').show(); "
			>
			<i class="fas fa-file-import "></i>
			Import biosamples
		</button>
		<div id="putimportBioSampleModal" class="w3-modal w3-padding-32 ">
			<div class="w3-modal-content ">
				<div class="w3-card-4 ">
					<header class="w3-container w3-pale-green">
	{{#eq "Page" classApiMethodMethod}}
						<span class="w3-button w3-display-topright " onclick="$('#putimportBioSampleModal').hide(); ">×</span>
	{{/eq}}
						<h2 class="w3-padding ">Import biosamples</h2>
					</header>
					<div class="w3-container " id="putimportBioSampleFormValues">
						<div class="w3-cell-row ">
							<textarea
								class="PUTImport_searchList w3-input w3-border "
								style="height: 400px; "
								placeholder="{ 'searchList': [ { 'pk': ... , 'saves': [ ... ] }, ... ] }"
								></textarea>
						</div>
						<button
							class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-margin w3-pale-green "
							onclick="putimportBioSample($('#putimportBioSampleFormValues')); "
							>Import biosamples</button>
					</div>
				</div>
			</div>
		</div>
{{/inline}}
{{#*inline "htmFormBioSamplePage_postBioSample"}}
		<button
			class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-pale-green "
			onclick="$('#postBioSampleModal').show(); "
			>
			<i class="fas fa-file-plus "></i>
			Create a biosample
		</button>
		<div id="postBioSampleModal" class="w3-modal w3-padding-32 ">
			<div class="w3-modal-content ">
				<div class="w3-card-4 ">
					<header class="w3-container w3-pale-green">
	{{#eq "Page" classApiMethodMethod}}
						<span class="w3-button w3-display-topright " onclick="$('#postBioSampleModal').hide(); ">×</span>
	{{/eq}}
						<h2 class="w3-padding ">Create a biosample</h2>
					</header>
					<div class="w3-container " id="postBioSampleFormValues">
						<div id="postBioSampleForm">
							<div class="w3-cell-row ">
{{> "htmPk" classApiMethodMethod="POST"}}
{{> "htmCreated" classApiMethodMethod="POST"}}
{{> "htmModified" classApiMethodMethod="POST"}}
{{> "htmObjectId" classApiMethodMethod="POST"}}
							</div>
							<div class="w3-cell-row ">
{{> "htmArchived" classApiMethodMethod="POST"}}
{{> "htmDeleted" classApiMethodMethod="POST"}}
							</div>
						</div>
						<button
							class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-margin w3-pale-green "
							onclick="postBioSample($('#postBioSampleForm')); "
							>Create a biosample</button>
					</div>
				</div>
			</div>
		</div>
{{/inline}}
{{#*inline "htmFormBioSamplePage_patchBioSample"}}
		<button
			class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-pale-green "
			onclick="$('#patchBioSampleModal').show(); "
			>
			<i class="fas fa-edit "></i>
			Modify biosamples
		</button>
		<div id="patchBioSampleModal" class="w3-modal w3-padding-32 ">
			<div class="w3-modal-content ">
				<div class="w3-card-4 ">
					<header class="w3-container w3-pale-green">
	{{#eq "Page" classApiMethodMethod}}
						<span class="w3-button w3-display-topright " onclick="$('#patchBioSampleModal').hide(); ">×</span>
	{{/eq}}
						<h2 class="w3-padding ">Modify biosamples</h2>
					</header>
					<div class="w3-container " id="patchBioSampleFormValues">
							<div class="w3-cell-row ">
{{> "htmCreated" classApiMethodMethod="PATCH"}}
							</div>
							<div class="w3-cell-row ">
{{> "htmArchived" classApiMethodMethod="PATCH"}}
{{> "htmDeleted" classApiMethodMethod="PATCH"}}
							</div>
						<button
							class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-margin w3-pale-green "
							onclick="patchBioSample(null, $('#patchBioSampleFormValues')); "
							>Modify biosamples</button>
					</div>
				</div>
			</div>
		</div>
{{/inline}}
{{#*inline "htmFormBioSamplePage_searchpageBioSample"}}
		<div id="searchpageBioSampleModal" class="w3-padding-32 ">
			<div class="">
				<div class="w3-card-4 ">
					<header class="w3-container w3-pale-green">
	{{#eq "Page" classApiMethodMethod}}
						<span class="w3-button w3-display-topright " onclick="$('#searchpageBioSampleModal').hide(); ">×</span>
	{{/eq}}
						<h2 class="w3-padding "></h2>
					</header>
					<div class="w3-container " id="searchpageBioSampleFormValues">
						<div id="searchpageBioSampleForm">
							<div class="w3-cell-row ">
{{> "htmPk" classApiMethodMethod="Page"}}
{{> "htmCreated" classApiMethodMethod="Page"}}
{{> "htmModified" classApiMethodMethod="Page"}}
{{> "htmObjectId" classApiMethodMethod="Page"}}
							</div>
							<div class="w3-cell-row ">
{{> "htmArchived" classApiMethodMethod="Page"}}
{{> "htmDeleted" classApiMethodMethod="Page"}}
							</div>
						</div>
						<button
							class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-margin w3-pale-green "
							onclick="searchpageBioSample(); "
							></button>
					</div>
				</div>
			</div>
		</div>
{{/inline}}
{{#*inline "htmBodyStartBioSamplePage"}}
{{> "htmBodyStartBaseModelPage"}}
{{/inline}}
{{#*inline "htmBodyEndBioSamplePage"}}
{{> "htmBodyEndBaseModelPage"}}
{{/inline}}
{{#*inline "htmBodyBioSamplePage"}}
{{#block "htmBodyStart"}}{{/block}}
	{{#eq bioSampleCount int0}}
{{#block "htmBodyCount0"}}{{/block}}
	{{else}}
		{{#eq bioSampleCount int1}}
			{{#eq params.query.q "*:*"}}
{{#block "htmBodyCount1All"}}{{/block}}
			{{else}}
{{#block "htmBodyCount1"}}{{/block}}
			{{/eq}}
		{{else}}
{{#block "htmBodyAll"}}{{/block}}
		{{/eq}}
	{{/eq}}
{{#block "htmForms"}}{{/block}}
{{#block "htmBodyEnd"}}{{/block}}
{{/inline}}
{{#*inline "table1BioSamplePage"}}
		<table class="w3-table w3-bordered w3-striped w3-border w3-hoverable ">
			{{> table2BioSamplePage}}
		</table>
{{/inline}}
{{#*inline "table2BioSamplePage"}}
		{{> "thead1BioSamplePage"}}
		{{> "tbody1BioSamplePage"}}
		{{> "tfoot1BioSamplePage"}}
	{{/inline}}
{{#*inline "thead1BioSamplePage"}}
		<thead class="w3-pale-green w3-hover-pale-green">
			{{> thead2BioSamplePage}}
		</thead>
	{{/inline}}
{{#*inline "thead2BioSamplePage"}}
			<tr>
				<th>created</th>
				<th></th>
			</tr>
{{/inline}}
{{#*inline "tbody1BioSamplePage"}}
		<tbody>
			{{> tbody2BioSamplePage}}
		</tbody>
{{/inline}}
{{#*inline "tbody2BioSamplePage"}}
		{{#each listBioSample}}
			<tr>
					<td>
						<a href="{{pageUrlPk}}">
							<span>{{created}}</span>
						</a>
					</td>
					<td>
						<a href="{{pageUrlPk}}">
							<i class="far fa-map-pin "></i>
							<span>{{objectTitle}}</span>
						</a>
					</td>
			</tr>
		{{/each}}
{{/inline}}
{{#*inline "tfoot1BioSamplePage"}}
		<tfoot class="w3-pale-green w3-hover-pale-green">
			{{> tfoot2BioSamplePage}}
		</tfoot>
{{/inline}}
{{#*inline "tfoot2BioSamplePage"}}
		<tr>
			{{#if getColumnCreated}}
				<td>
				</td>
			{{/if}}
			{{#if getColumnObjectTitle}}
				<td>
				</td>
			{{/if}}
		</tr>
	{{/inline}}
{{#*inline "htmFormsBioSamplePage"}}
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq bioSampleCount int1}}
		<button
			class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-pale-green "
			id="refreshThisBioSampleGenPage"
			onclick="patch{{classSimpleName}}Vals( [ {name: 'fq', value: 'pk:{{pk}}' } ], {}, function() { addGlow($('#refreshThisBioSampleGenPage')); }, function() { addError($('#refreshThisBioSampleGenPage')); }); return false; ">
			<i class="fas fa-sync-alt "></i>
			refresh this biosample
		</button>
		{{/eq}}
	{{/ifContainsAnyRoles}}
	{{#ifContainsAnyRoles roles authRolesAdmin}}
{{#block "htmForm_putimportBioSample"}}{{/block}}
{{#block "htmForm_postBioSample"}}{{/block}}
{{#block "htmForm_patchBioSample"}}{{/block}}
	{{/ifContainsAnyRoles}}
{{#block "htmSuggested"}}{{/block}}
{{/inline}}
{{#*inline "htmSuggestedBioSamplePage"}}
			{{#ifContainsAnyRoles roles rolesRequired}}
					<div class="">
						<button id="refreshAllBioSampleGenPage{{id}}" class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-pale-green "
							onclick="patch{{classSimpleName}}Vals([], {}, function() { addGlow($('#refreshAllBioSampleGenPage{{id}}')); }, function() { addError($('#refreshAllBioSampleGenPage{{id}}')); }); "
							>
							<i class="fas fa-sync-alt "></i>
							refresh all the biosamples
						</button>
					</div>
			{{/ifContainsAnyRoles}}
			<div class="w3-cell-row ">
				<div class="w3-cell ">
					<span>
						search biosamples: 
					</span>
				</div>
			</div>
			<div class="w3-bar ">
				<input
					type="text"
					class="suggestBioSample w3-input w3-border w3-bar-item "
					name="suggestBioSample"
					id="suggestBioSample{{id}}"
					autocomplete="off"
					oninput="suggestBioSampleObjectSuggest( [ { 'name': 'q', 'value': 'objectSuggest:' + $(this).val() }, { 'name': 'rows', 'value': '10' }, { 'name': 'fl', 'value': 'pk,pageUrlPk,objectTitle' } ], $('#suggestListBioSample{{id}}'), {{pk}}; "
					onkeyup="if (event.keyCode === 13) { event.preventDefault(); window.location.href = '/api/biosample?q={{query1}}:' + encodeURIComponent(this.value) + '{{fqs}}{{sorts}}&start={{start2}}&rows={{rows1}}"
				{{#if listBioSample}}
					value="{{query2}}"
				{{/if}}
				/>
				<button
					class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
					onclick="window.location.href = '/api/biosample?q=&quot;, query1, &quot;:' + encodeURIComponent(this.previousElementSibling.value) + '&quot;, fqs, sorts, &quot;&start=&quot;, start2, &quot;&rows=&quot;, rows1, &quot;'; "
					>
					<i class="fas fa-search "></i>
				</button>
			<div>
			<div class="w3-cell-row ">
				<div class="w3-cell w3-left-align w3-cell-top ">
					<ul class="w3-ul w3-hoverable " id="suggestListBioSample{{id}}">
					</ul>
				</div>
			</div>
			<div class="">
				<a href="/api/biosample" class="">
					<i class="far fa-map-pin"></i>
					see all the biosamples
				</a>
			</div>
{{/inline}}
{{> BaseModelPage baseModel_=bioSample_}}

{{#*inline "htmBioSampleId"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleId">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleId">BioSample ID</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleId"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleId')); $('#{{classApiMethodMethod}}_bioSampleId').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleId', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleId')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleId')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleId"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample ID"
															id="{{classApiMethodMethod}}_bioSampleId"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleId classBioSample inputBioSample{{pk}}BioSampleId w3-input w3-border "
																name="setBioSampleId"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleId classBioSample inputBioSample{{pk}}BioSampleId w3-input w3-border "
																name="setBioSampleId"
		{{else}}
																class="valueBioSampleId w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleId w3-input w3-border "
																name="bioSampleId"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleId', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleId')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleId')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleId}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleId ">{{bioSample_.bioSampleId}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleIsolate"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleIsolate">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleIsolate">BioSample Isolate</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleIsolate"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleIsolate')); $('#{{classApiMethodMethod}}_bioSampleIsolate').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleIsolate', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleIsolate')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleIsolate')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleIsolate"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Isolate"
															id="{{classApiMethodMethod}}_bioSampleIsolate"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleIsolate classBioSample inputBioSample{{pk}}BioSampleIsolate w3-input w3-border "
																name="setBioSampleIsolate"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleIsolate classBioSample inputBioSample{{pk}}BioSampleIsolate w3-input w3-border "
																name="setBioSampleIsolate"
		{{else}}
																class="valueBioSampleIsolate w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleIsolate w3-input w3-border "
																name="bioSampleIsolate"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleIsolate', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleIsolate')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleIsolate')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleIsolate}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleIsolate ">{{bioSample_.bioSampleIsolate}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleHost"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleHost">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleHost">BioSample Host</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleHost"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleHost')); $('#{{classApiMethodMethod}}_bioSampleHost').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleHost', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleHost')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleHost')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleHost"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Host"
															id="{{classApiMethodMethod}}_bioSampleHost"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleHost classBioSample inputBioSample{{pk}}BioSampleHost w3-input w3-border "
																name="setBioSampleHost"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleHost classBioSample inputBioSample{{pk}}BioSampleHost w3-input w3-border "
																name="setBioSampleHost"
		{{else}}
																class="valueBioSampleHost w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleHost w3-input w3-border "
																name="bioSampleHost"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleHost', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleHost')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleHost')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleHost}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleHost ">{{bioSample_.bioSampleHost}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleLabHost"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleLabHost">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleLabHost">BioSample Lab Host</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleLabHost"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleLabHost')); $('#{{classApiMethodMethod}}_bioSampleLabHost').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleLabHost', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleLabHost')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleLabHost')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleLabHost"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Lab Host"
															id="{{classApiMethodMethod}}_bioSampleLabHost"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleLabHost classBioSample inputBioSample{{pk}}BioSampleLabHost w3-input w3-border "
																name="setBioSampleLabHost"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleLabHost classBioSample inputBioSample{{pk}}BioSampleLabHost w3-input w3-border "
																name="setBioSampleLabHost"
		{{else}}
																class="valueBioSampleLabHost w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleLabHost w3-input w3-border "
																name="bioSampleLabHost"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleLabHost', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleLabHost')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleLabHost')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleLabHost}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleLabHost ">{{bioSample_.bioSampleLabHost}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleIsolationSource"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleIsolationSource">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleIsolationSource">BioSample Isolation Source</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleIsolationSource"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleIsolationSource')); $('#{{classApiMethodMethod}}_bioSampleIsolationSource').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleIsolationSource', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleIsolationSource')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleIsolationSource')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleIsolationSource"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Isolation Source"
															id="{{classApiMethodMethod}}_bioSampleIsolationSource"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleIsolationSource classBioSample inputBioSample{{pk}}BioSampleIsolationSource w3-input w3-border "
																name="setBioSampleIsolationSource"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleIsolationSource classBioSample inputBioSample{{pk}}BioSampleIsolationSource w3-input w3-border "
																name="setBioSampleIsolationSource"
		{{else}}
																class="valueBioSampleIsolationSource w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleIsolationSource w3-input w3-border "
																name="bioSampleIsolationSource"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleIsolationSource', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleIsolationSource')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleIsolationSource')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleIsolationSource}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleIsolationSource ">{{bioSample_.bioSampleIsolationSource}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleGeographicLocation"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleGeographicLocation">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleGeographicLocation">BioSample Collection Date</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleGeographicLocation"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleGeographicLocation')); $('#{{classApiMethodMethod}}_bioSampleGeographicLocation').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleGeographicLocation', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleGeographicLocation')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleGeographicLocation')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleGeographicLocation"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Collection Date"
															id="{{classApiMethodMethod}}_bioSampleGeographicLocation"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleGeographicLocation classBioSample inputBioSample{{pk}}BioSampleGeographicLocation w3-input w3-border "
																name="setBioSampleGeographicLocation"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleGeographicLocation classBioSample inputBioSample{{pk}}BioSampleGeographicLocation w3-input w3-border "
																name="setBioSampleGeographicLocation"
		{{else}}
																class="valueBioSampleGeographicLocation w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleGeographicLocation w3-input w3-border "
																name="bioSampleGeographicLocation"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleGeographicLocation', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleGeographicLocation')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleGeographicLocation')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleGeographicLocation}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleGeographicLocation ">{{bioSample_.bioSampleGeographicLocation}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleLatitudeLongitude"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleLatitudeLongitude">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleLatitudeLongitude">BioSample Latitude and Longitude</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleLatitudeLongitude"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleLatitudeLongitude')); $('#{{classApiMethodMethod}}_bioSampleLatitudeLongitude').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleLatitudeLongitude', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleLatitudeLongitude')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleLatitudeLongitude')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleLatitudeLongitude"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Latitude and Longitude"
															id="{{classApiMethodMethod}}_bioSampleLatitudeLongitude"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleLatitudeLongitude classBioSample inputBioSample{{pk}}BioSampleLatitudeLongitude w3-input w3-border "
																name="setBioSampleLatitudeLongitude"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleLatitudeLongitude classBioSample inputBioSample{{pk}}BioSampleLatitudeLongitude w3-input w3-border "
																name="setBioSampleLatitudeLongitude"
		{{else}}
																class="valueBioSampleLatitudeLongitude w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleLatitudeLongitude w3-input w3-border "
																name="bioSampleLatitudeLongitude"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleLatitudeLongitude', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleLatitudeLongitude')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleLatitudeLongitude')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleLatitudeLongitude}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleLatitudeLongitude ">{{bioSample_.bioSampleLatitudeLongitude}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleReferenceForBioMaterial"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleReferenceForBioMaterial">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleReferenceForBioMaterial">BioSample Reference for BioMaterial</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleReferenceForBioMaterial"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleReferenceForBioMaterial')); $('#{{classApiMethodMethod}}_bioSampleReferenceForBioMaterial').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleReferenceForBioMaterial', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleReferenceForBioMaterial')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleReferenceForBioMaterial')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleReferenceForBioMaterial"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Reference for BioMaterial"
															id="{{classApiMethodMethod}}_bioSampleReferenceForBioMaterial"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleReferenceForBioMaterial classBioSample inputBioSample{{pk}}BioSampleReferenceForBioMaterial w3-input w3-border "
																name="setBioSampleReferenceForBioMaterial"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleReferenceForBioMaterial classBioSample inputBioSample{{pk}}BioSampleReferenceForBioMaterial w3-input w3-border "
																name="setBioSampleReferenceForBioMaterial"
		{{else}}
																class="valueBioSampleReferenceForBioMaterial w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleReferenceForBioMaterial w3-input w3-border "
																name="bioSampleReferenceForBioMaterial"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleReferenceForBioMaterial', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleReferenceForBioMaterial')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleReferenceForBioMaterial')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleReferenceForBioMaterial}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleReferenceForBioMaterial ">{{bioSample_.bioSampleReferenceForBioMaterial}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleMaterialProcessing"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleMaterialProcessing">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleMaterialProcessing">BioSample Material Processing</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleMaterialProcessing"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleMaterialProcessing')); $('#{{classApiMethodMethod}}_bioSampleMaterialProcessing').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleMaterialProcessing', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleMaterialProcessing')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleMaterialProcessing')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleMaterialProcessing"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Material Processing"
															id="{{classApiMethodMethod}}_bioSampleMaterialProcessing"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleMaterialProcessing classBioSample inputBioSample{{pk}}BioSampleMaterialProcessing w3-input w3-border "
																name="setBioSampleMaterialProcessing"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleMaterialProcessing classBioSample inputBioSample{{pk}}BioSampleMaterialProcessing w3-input w3-border "
																name="setBioSampleMaterialProcessing"
		{{else}}
																class="valueBioSampleMaterialProcessing w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleMaterialProcessing w3-input w3-border "
																name="bioSampleMaterialProcessing"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleMaterialProcessing', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleMaterialProcessing')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleMaterialProcessing')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleMaterialProcessing}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleMaterialProcessing ">{{bioSample_.bioSampleMaterialProcessing}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleMaterialIdentifiers"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleMaterialIdentifiers">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleMaterialIdentifiers">BioSample Material Identifiers</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleMaterialIdentifiers"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleMaterialIdentifiers')); $('#{{classApiMethodMethod}}_bioSampleMaterialIdentifiers').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleMaterialIdentifiers', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleMaterialIdentifiers')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleMaterialIdentifiers')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleMaterialIdentifiers"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Material Identifiers"
															id="{{classApiMethodMethod}}_bioSampleMaterialIdentifiers"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleMaterialIdentifiers classBioSample inputBioSample{{pk}}BioSampleMaterialIdentifiers w3-input w3-border "
																name="setBioSampleMaterialIdentifiers"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleMaterialIdentifiers classBioSample inputBioSample{{pk}}BioSampleMaterialIdentifiers w3-input w3-border "
																name="setBioSampleMaterialIdentifiers"
		{{else}}
																class="valueBioSampleMaterialIdentifiers w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleMaterialIdentifiers w3-input w3-border "
																name="bioSampleMaterialIdentifiers"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleMaterialIdentifiers', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleMaterialIdentifiers')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleMaterialIdentifiers')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleMaterialIdentifiers}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleMaterialIdentifiers ">{{bioSample_.bioSampleMaterialIdentifiers}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleDisease"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleDisease">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleDisease">BioSample Disease</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleDisease"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleDisease')); $('#{{classApiMethodMethod}}_bioSampleDisease').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleDisease', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleDisease')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleDisease')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleDisease"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Disease"
															id="{{classApiMethodMethod}}_bioSampleDisease"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleDisease classBioSample inputBioSample{{pk}}BioSampleDisease w3-input w3-border "
																name="setBioSampleDisease"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleDisease classBioSample inputBioSample{{pk}}BioSampleDisease w3-input w3-border "
																name="setBioSampleDisease"
		{{else}}
																class="valueBioSampleDisease w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleDisease w3-input w3-border "
																name="bioSampleDisease"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleDisease', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleDisease')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleDisease')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleDisease}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleDisease ">{{bioSample_.bioSampleDisease}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleHostTissueSampled"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleHostTissueSampled">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleHostTissueSampled">BioSample Host Tissue Sampled</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleHostTissueSampled"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleHostTissueSampled')); $('#{{classApiMethodMethod}}_bioSampleHostTissueSampled').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleHostTissueSampled', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleHostTissueSampled')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleHostTissueSampled')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleHostTissueSampled"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Host Tissue Sampled"
															id="{{classApiMethodMethod}}_bioSampleHostTissueSampled"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleHostTissueSampled classBioSample inputBioSample{{pk}}BioSampleHostTissueSampled w3-input w3-border "
																name="setBioSampleHostTissueSampled"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleHostTissueSampled classBioSample inputBioSample{{pk}}BioSampleHostTissueSampled w3-input w3-border "
																name="setBioSampleHostTissueSampled"
		{{else}}
																class="valueBioSampleHostTissueSampled w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleHostTissueSampled w3-input w3-border "
																name="bioSampleHostTissueSampled"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleHostTissueSampled', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleHostTissueSampled')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleHostTissueSampled')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleHostTissueSampled}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleHostTissueSampled ">{{bioSample_.bioSampleHostTissueSampled}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmBioSampleCollectedBy"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleBioSampleCollectedBy">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_bioSampleCollectedBy">BioSample Collected By</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputBioSampleCollectedBy"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_bioSampleCollectedBy')); $('#{{classApiMethodMethod}}_bioSampleCollectedBy').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setBioSampleCollectedBy', null, function() { addGlow($('#{{classApiMethodMethod}}_bioSampleCollectedBy')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleCollectedBy')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputBioSampleCollectedBy"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="BioSample Collected By"
															id="{{classApiMethodMethod}}_bioSampleCollectedBy"
	{{#eq "Page" classApiMethodMethod}}
																class="setBioSampleCollectedBy classBioSample inputBioSample{{pk}}BioSampleCollectedBy w3-input w3-border "
																name="setBioSampleCollectedBy"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setBioSampleCollectedBy classBioSample inputBioSample{{pk}}BioSampleCollectedBy w3-input w3-border "
																name="setBioSampleCollectedBy"
		{{else}}
																class="valueBioSampleCollectedBy w3-input w3-border classBioSample inputBioSample{{pk}}BioSampleCollectedBy w3-input w3-border "
																name="bioSampleCollectedBy"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setBioSampleCollectedBy', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_bioSampleCollectedBy')); }, function() { addError($('#{{classApiMethodMethod}}_bioSampleCollectedBy')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.bioSampleCollectedBy}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}BioSampleCollectedBy ">{{bioSample_.bioSampleCollectedBy}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmTaxonomyId"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleTaxonomyId">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_taxonomyId">Taxonomy ID</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputTaxonomyId"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_taxonomyId')); $('#{{classApiMethodMethod}}_taxonomyId').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setTaxonomyId', null, function() { addGlow($('#{{classApiMethodMethod}}_taxonomyId')); }, function() { addError($('#{{classApiMethodMethod}}_taxonomyId')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputTaxonomyId"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="Taxonomy ID"
															id="{{classApiMethodMethod}}_taxonomyId"
	{{#eq "Page" classApiMethodMethod}}
																class="setTaxonomyId classBioSample inputBioSample{{pk}}TaxonomyId w3-input w3-border "
																name="setTaxonomyId"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setTaxonomyId classBioSample inputBioSample{{pk}}TaxonomyId w3-input w3-border "
																name="setTaxonomyId"
		{{else}}
																class="valueTaxonomyId w3-input w3-border classBioSample inputBioSample{{pk}}TaxonomyId w3-input w3-border "
																name="taxonomyId"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setTaxonomyId', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_taxonomyId')); }, function() { addError($('#{{classApiMethodMethod}}_taxonomyId')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.taxonomyId}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}TaxonomyId ">{{bioSample_.taxonomyId}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmTaxonomyName"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleTaxonomyName">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_taxonomyName">Taxonomy ID</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputTaxonomyName"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_taxonomyName')); $('#{{classApiMethodMethod}}_taxonomyName').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setTaxonomyName', null, function() { addGlow($('#{{classApiMethodMethod}}_taxonomyName')); }, function() { addError($('#{{classApiMethodMethod}}_taxonomyName')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputTaxonomyName"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="Taxonomy ID"
															id="{{classApiMethodMethod}}_taxonomyName"
	{{#eq "Page" classApiMethodMethod}}
																class="setTaxonomyName classBioSample inputBioSample{{pk}}TaxonomyName w3-input w3-border "
																name="setTaxonomyName"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setTaxonomyName classBioSample inputBioSample{{pk}}TaxonomyName w3-input w3-border "
																name="setTaxonomyName"
		{{else}}
																class="valueTaxonomyName w3-input w3-border classBioSample inputBioSample{{pk}}TaxonomyName w3-input w3-border "
																name="taxonomyName"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setTaxonomyName', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_taxonomyName')); }, function() { addError($('#{{classApiMethodMethod}}_taxonomyName')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.taxonomyName}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}TaxonomyName ">{{bioSample_.taxonomyName}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmTaxonomyUniqueName"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleTaxonomyUniqueName">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_taxonomyUniqueName">Taxonomy Unique Name</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputTaxonomyUniqueName"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_taxonomyUniqueName')); $('#{{classApiMethodMethod}}_taxonomyUniqueName').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setTaxonomyUniqueName', null, function() { addGlow($('#{{classApiMethodMethod}}_taxonomyUniqueName')); }, function() { addError($('#{{classApiMethodMethod}}_taxonomyUniqueName')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputTaxonomyUniqueName"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="Taxonomy Unique Name"
															id="{{classApiMethodMethod}}_taxonomyUniqueName"
	{{#eq "Page" classApiMethodMethod}}
																class="setTaxonomyUniqueName classBioSample inputBioSample{{pk}}TaxonomyUniqueName w3-input w3-border "
																name="setTaxonomyUniqueName"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setTaxonomyUniqueName classBioSample inputBioSample{{pk}}TaxonomyUniqueName w3-input w3-border "
																name="setTaxonomyUniqueName"
		{{else}}
																class="valueTaxonomyUniqueName w3-input w3-border classBioSample inputBioSample{{pk}}TaxonomyUniqueName w3-input w3-border "
																name="taxonomyUniqueName"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setTaxonomyUniqueName', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_taxonomyUniqueName')); }, function() { addError($('#{{classApiMethodMethod}}_taxonomyUniqueName')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.taxonomyUniqueName}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}TaxonomyUniqueName ">{{bioSample_.taxonomyUniqueName}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

{{#*inline "htmTaxonomyNameClass"}}
								<div class="w3-cell w3-cell-top w3-center w3-mobile ">
									<div class="w3-padding ">
										<div id="suggest{{classApiMethodMethod}}BioSampleTaxonomyNameClass">
											<div class="w3-card ">
												<div class="w3-cell-row w3-pale-green">
													<label for="{{classApiMethodMethod}}_taxonomyNameClass">Taxonomy Name Class</label>
												</div>
												<div class="w3-cell-row w3-padding ">
													<div class="w3-cell ">
														{{> "inputTaxonomyNameClass"}}
													</div>
	{{#ifContainsAnyRoles roles rolesRequired}}
		{{#eq 'Page' classApiMethodMethod}}
															<div class="w3-cell w3-left-align w3-cell-top ">
																<button
																		tabindex="-1"
																		class="w3-btn w3-round w3-border w3-border-black w3-ripple w3-padding w3-bar-item w3-pale-green "
																		onclick="removeGlow($('#{{classApiMethodMethod}}_taxonomyNameClass')); $('#{{classApiMethodMethod}}_taxonomyNameClass').val(null); patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + $('#BioSampleForm :input[name=pk]').val() }], 'setTaxonomyNameClass', null, function() { addGlow($('#{{classApiMethodMethod}}_taxonomyNameClass')); }, function() { addError($('#{{classApiMethodMethod}}_taxonomyNameClass')); }); "
																		>
																	<i class="far fa-eraser "></i>
																</button>
															</div>
														{{/eq}}
	{{/ifContainsAnyRoles}}
												</div>
											</div>
										</div>
									</div>
								</div>
{{/inline}}

{{#*inline "inputTaxonomyNameClass"}}
		{{#ifContainsAnyRoles roles rolesRequired}}
														<input
															type="text"
															placeholder="Taxonomy Name Class"
															id="{{classApiMethodMethod}}_taxonomyNameClass"
	{{#eq "Page" classApiMethodMethod}}
																class="setTaxonomyNameClass classBioSample inputBioSample{{pk}}TaxonomyNameClass w3-input w3-border "
																name="setTaxonomyNameClass"
	{{else}}
		{{#eq "PATCH" classApiMethodMethod}}
																class="setTaxonomyNameClass classBioSample inputBioSample{{pk}}TaxonomyNameClass w3-input w3-border "
																name="setTaxonomyNameClass"
		{{else}}
																class="valueTaxonomyNameClass w3-input w3-border classBioSample inputBioSample{{pk}}TaxonomyNameClass w3-input w3-border "
																name="taxonomyNameClass"
		{{/eq}}
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
																onclick="removeGlow($(this)); "
																onchange="patch{{classSimpleName}}Val([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:{{pk}}' }], 'setTaxonomyNameClass', $(this).val(), function() { addGlow($('#{{classApiMethodMethod}}_taxonomyNameClass')); }, function() { addError($('#{{classApiMethodMethod}}_taxonomyNameClass')); }); "
	{{/eq}}
	{{#eq "Page" classApiMethodMethod}}
															value="{{bioSample_.taxonomyNameClass}}"
	{{/eq}}
														/>

													{{else}}
															<span class="varBioSample{{pk}}TaxonomyNameClass ">{{bioSample_.taxonomyNameClass}}</span>
		{{/ifContainsAnyRoles}}
{{/inline}}

This message will not self-destruct.

This message will not self destruct, because this project is open source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant