<div class="section" style="display: inline-block; width:100%; min-width: 350px;">
 <div class="section-head">
	<h2 class="section-title">{{ localize 'shadowrun6.section.bodyware.title' }}</h2>
	<a class="item-control bodyware-create" title="{{localize 'shadowrun6.section.bodyware.add' }}">
		<h2 class="fas fa-plus"></h2>
	</a>
</div>
<table>
	    <thead>
	      <tr>
	        <th></th>
	        <th style="text-align: left;">{{ localize 'shadowrun6.label.column.name' }}</th>
	        <th>{{ localize 'shadowrun6.section.bodyware.column.essence' }}</th>
	        <th>{{ localize 'shadowrun6.section.bodyware.column.capacity' }}</th>
	        <th>
				<!-- {{ localize 'shadowrun6.label.column.action' }} -->
			</th>
	      </tr>
	    </thead>
	{{#each (itemsOfAugSubtype actor.itemTypes.gear) as |item id|}}
		<tr class="item list-item draggable" data-item-id="{{item.id}}" data-uuid="{{item.uuid}}">
			<td style="margin-right: 1rem; width: 0.7em;">
				<button type="button" name="collapseGear{{id}}" class="collapsible closed {{#if (noDescOrMods item actor)}}empty{{/if}}" data-item-id="{{this.id}}">+</button>
			</td>
			<td style="height:20px;"> {{item.name}}</td>
			<td class="centered"style="width: 3em">{{item.system.essence}}</td>
			{{#if (eq item.system.type "CYBERWARE") }}
			<td class="centered" style="width: 2em">{{item.system.capacity}}</td>
			{{else}}
			<td class="centered"> - </td>
			{{/if}}
			<td style="text-align: right;">
				<a class="item-control item-edit" title='{{localize 'shadowrun6.label.edit' }}'><i class="fas fa-edit"></i></a>
				<a class="item-control item-delete"	title='{{localize 'shadowrun6.label.delete' }}'><i class="fas fa-trash"></i></a>
			</td>
		</tr>
       	<tr>
			<td colspan="5">
  				{{> "systems/shadowrun-de/templates/sheets/common/collapsible-content-item.hbs" item=item actor=actor}}
			</td>
       	</tr>
	{{/each}}
	    <tfoot>
	      <tr>
	        <th colspan="2" style="text-align: right; font-weight:normal">{{ localize 'shadowrun6.section.bodyware.footer.total_essence' }}:</th>
	        <th style="width: 3em">{{actor.system.essence}}</th>
	        <td colspan="2"></th>
	      </tr>
	    </tfoot>
</table>
</div>