
<f:layout name="Default" />

This Template is responsible for creating a table of domain objects.

If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
  Resources:
    Private:
      Templates:
        List.html: keep

Otherwise your changes will be overwritten the next time you save the extension in the extension builder

<f:section name="main">
<h1>Listing for Content</h1>

<f:flashMessages />

<table  class="tx_irretutorial" >
	<tr>
		<th><f:translate key="tx_irretutorial_domain_model_content.header" /></th>
		<th> </th>
		<th> </th>
	</tr>

	<f:for each="{contents}" as="content">
		<tr>
			<td><f:link.action action="show" arguments="{content : content}"> {content.header}</f:link.action></td>
			<td><f:link.action action="edit" arguments="{content : content}">Edit</f:link.action></td>
			<td><f:link.action action="delete" arguments="{content : content}">Delete</f:link.action></td>
		</tr>
	</f:for>
</table>

<f:link.action action="new">New Content</f:link.action>
</f:section>