<form class="item-sheet {{cssClass}}" autocomplete="off">
	<header class="sheet-header">
		<img class="item-img" src="{{item.img}}" data-edit="img" title="{{item.name}}" />
		<h1><input name="name" type="text" value="{{item.name}}" placeholder="Name" /></h1>
	</header>
	<div class="sheet-content">
		<table>
			<tbody>
				<tr>
					<td>{{localize "midgard5.skill-value"}}</td>
					<td><input name="data.fw" type="text" value="{{data.fw}}" data-dtype="Number" /></td>
				</tr>

				{{#unless (eq data.type "combat")}}
				<tr>
					<td>{{localize "midgard5.attribute"}}</td>
					<td>
						<select class="select-attribute" name="data.attribute" data-type="String">
							{{#select data.attribute}}
								<option value="">{{localize "midgard5.no-skill"}}</option>
								{{#each data.attributes as |attribute key|}}
									<option value="{{key}}">{{localize attribute.long}}</option>
								{{/each}}
							{{/select}}
						</select>
					</td>
				</tr>
				{{/unless}}
			
				<tr>
					<td>{{localize "midgard5.pp"}}</td>
					<td><input name="data.pp" type="text" value="{{data.pp}}" data-dtype="Number" /></td>
				</tr>
			</tbody>
		</table>

		{{> "systems/midgard5/templates/sheets/item/rolls.hbs"}}

		{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
	</div>
</form>