<form class="{{cssClass}} swalt-sheet" autocomplete="off">
	{{!-- Sheet Header --}}
	<header class="panel">
		<img class="profile" src="{{actor.img}}" title="{{actor.name}}" data-edit="img" />
		<h1 class="character-name">
			<input name="name" type="text" value="{{actor.name}}" placeholder="{{ localize 'SW5E.Name' }}" />
		</h1>
		<div class="level-experience">
			<div class="charlevel">
				{{ localize "SW5E.Level" }} {{data.details.level}} {{classLabels}}
			</div>
			{{#unless disableExperience}}
			<div class="experience">
				<input name="data.details.xp.value" type="text" value="{{data.details.xp.value}}" data-dtype="Number"
					placeholder="0" />
				<span class="sep">/</span>
				<span class="max">{{data.details.xp.max}}</span>
			</div>
			<div class="xpbar">
				<span class="bar" style="width: {{data.details.xp.pct}}%"></span>
			</div>
			{{/unless}}
		</div>
		<div class="summary">
			<input type="text" name="data.details.species" value="{{data.details.species}}"
				placeholder="{{ localize 'SW5E.Species' }}" />
			<input type="text" name="data.details.background" value="{{data.details.background}}"
				placeholder="{{ localize 'SW5E.Background' }}" />
			<input type="text" name="data.details.alignment" value="{{data.details.alignment}}"
				placeholder="{{ localize 'SW5E.Alignment' }}" />
			<div class="proficiency">
				Proficiency {{numberFormat data.attributes.prof decimals=0 sign=true}}
			</div>
		</div>
		{{!-- Header Attributes --}}
		<div class="attributes">
			{{!-- ARMOR CLASS --}}
			<section>
				<h1>{{ localize "SW5E.ArmorClass" }}</h1>
				<div class="attribute-value">
					<input class="ac-display" name="data.attributes.ac.value" type="text"
						value="{{data.attributes.ac.value}}" data-dtype="Number" placeholder="10" />
				</div>
			</section>

			{{!-- HIT POINTS --}}
			<section>
				<h1>Hit Points</h1>
				<div class="attribute-value multiple">
					<input name="data.attributes.hp.value" type="text" value="{{data.attributes.hp.value}}"
						data-dtype="Number" placeholder="10" class="value-number" />
					<span class="value-separator">/</span>
					<input name="data.attributes.hp.max" type="text" value="{{data.attributes.hp.max}}"
						data-dtype="Number" placeholder="10" class="value-number" />
				</div>
				<footer class="attribute-footer hit-points">
					<input name="data.attributes.hp.temp" type="text" class="temphp" placeholder="+Temp"
						value="{{data.attributes.hp.temp}}" data-dtype="{{data.attributes.hp.type}}" />
					<input name="data.attributes.hp.tempmax" type="text" class="temphp" placeholder="+Max"
						value="{{data.attributes.hp.tempmax}}" data-dtype="{{data.attributes.hp.type}}" />
				</footer>
			</section>

			{{!-- HIT DICE / SHORT & LONG REST BUTTONS --}}
			<section>
				<h1>{{ localize "SW5E.HitDice" }}</h1>
				<div class="attribute-value multiple">
					<span class="value-number">{{data.attributes.hd}}</span>
					<span class="value-separator">/</span>
					<span class="value-number">{{data.details.level}}</span>
				</div>
				<footer class="attribute-footer hit-dice">
					<button type="button" class="rest short-rest">{{ localize "SW5E.RestS" }}</button>
					<button type="button" class="rest long-rest">{{ localize "SW5E.RestL" }}</button>
				</footer>
			</section>

			{{!-- INITIATIVE --}}
			<section>
				<h1>{{ localize "SW5E.Initiative" }}</h1>
				<div class="attribute-value">
					<span class="initiative">{{numberFormat data.attributes.init.total decimals=0 sign=true}}</span>
				</div>
				<footer class="attribute-footer initiative">
					<span>{{ localize "SW5E.Modifier" }}</span>
					<input name="data.attributes.init.value" type="text" placeholder="0" data-dtype="Number"
						value="{{numberFormat data.attributes.init.value decimals=0 sign=true}}" />
				</footer>
			</section>

			{{!-- SPEED / MOVEMENT TYPES --}}
			<section>
				<h1>{{ localize "SW5E.Speed" }}</h1>
				<div class="attribute-value">
					<input name="data.attributes.speed.value" type="text" value="{{data.attributes.speed.value}}"
						placeholder="0" />
				</div>
				<footer class="attribute-footer speed">
					<input type="text" class="speed" name="data.attributes.speed.special"
						value="{{data.attributes.speed.special}}" placeholder="{{ localize 'SW5E.SpeedSpecial' }}" />
				</footer>
			</section>


		</div>
	</header>
	{{!-- PC Sheet Navigation --}}
	<nav class="sheet-navigation root-tabs" data-group="primary">
		<button class="item active" data-tab="attributes">Core</button>
		<button class="item" data-tab="inventory">{{ localize "SW5E.Inventory" }}</button>
		<button class="item" data-tab="features">{{ localize "SW5E.Features" }}</button>
		<button class="item" data-tab="powerbook">{{ localize "SW5E.Powerbook" }}</button>
		<button class="item" data-tab="biography">{{ localize "SW5E.Biography" }}</button>
	</nav>
	{{!-- PC Sheet Body --}}
	<section class="sheet-body">
		{{!-- Core Tab --}}
		<section class="tab attributes core" data-group="primary" data-tab="attributes">
			{{> "systems/sw5e/templates/actors/newActor/parts/swalt-core.html" sections=attributes}}
		</section>
		{{!-- Inventory Tab --}}
		<section class="tab inventory" data-group="primary" data-tab="inventory">
			{{> "systems/sw5e/templates/actors/newActor/parts/swalt-inventory.html" sections=inventory}}
		</section>
		{{!-- Features Tab --}}
		<section class="tab features" data-group="primary" data-tab="features">
			{{> "systems/sw5e/templates/actors/newActor/parts/swalt-features.html" sections=features}}
		</section>
		{{!-- Powerbook Tab --}}
		<section class="tab powerbook" data-group="primary" data-tab="powerbook">
			{{> "systems/sw5e/templates/actors/newActor/parts/swalt-powerbook.html"}}
		</section>
		{{!-- Biography Tab --}}
		<section class="tab biography" data-group="primary" data-tab="biography">
			{{> "systems/sw5e/templates/actors/newActor/parts/swalt-biography.html"}}
		</section>
</form>