<div class="section" style="display: inline-block; width:100%">
	<div class="section-head">
	   <h2 class="section-title">{{ localize 'shadowrun6.section.lifestyles.title' }}</h2>
	   <a class="item-control lifestyle-create" title="{{localize 'shadowrun6.section.lifestyles.add' }}">
		   <h2 class="fas fa-plus"></h2>
	   </a>
   </div>
   <table>
	   <thead>
		   <tr>
			 <th style="text-align:left; width: 12em;">{{ localize 'shadowrun6.label.column.name' }}</th>
			 <th style="width: 4em">{{ localize 'shadowrun6.lifestyle.type' }}</th>
			 <th style="width: 5em;">{{ localize 'shadowrun6.lifestyle.cost' }}</th>
			 <th style="width: 6em;" >{{ localize 'shadowrun6.lifestyle.paid' }}</th>
			 <th style="width: 2em">{{ localize 'shadowrun6.label.column.action' }}</th>
		   </tr>
		 </thead>
		{{#each actor.items as |item id|}}
		{{#iff item.type '==' 'lifestyle'}}
		<tr class="item list-item" data-item-id="{{item.id}}">
			<td>{{item.name}}</td>
			<td class="centered">
				{{localize (lookup ../config.LIFESTYLE_TYPE item.system.type)}}
			</td>
			<td class="centered">{{nuyen item.system.cost}}</td>
			<td class="centered">{{item.system.paid}} {{localizePlural 'month' item.system.paid}}
			</td>
			<td class="centered">
				<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>
		{{/iff}}
		{{/each}}
   </table>
   </div>