| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <html
- xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
- xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
- xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
- data-namespace-typo3-fluid="true">
- <f:layout name="Backend" />
- <f:section name="List">
- <h1>Dashboard</h1>
- <h2>Add words (comma-separated) with a category</h2>
- <f:flashMessages />
- <f:form action="create">
- <label for="termList">Terms:</label>
- <f:form.textfield name="termList" /><br>
- <label for="categoryTitle">Category:</label>
- <f:form.textfield name="categoryTitle" /><br>
- <!-- <f:form.select name="category" options="{categories}" optionValueField="uid" optionLabelField="title" /><br>-->
- <f:form.submit value="Save" />
- </f:form>
- <h2>List of categories</h2>
- <table>
- <thead>
- <tr>
- <th>ID</th>
- <th>Title</th>
- </tr>
- </thead>
- <tbody>
- <f:for each="{categories}" as="category">
- <tr>
- <td>{category.uid}</td>
- <td>{category.title}</td>
- </tr>
- </f:for>
- </tbody>
- </table>
- <h2>List of terms</h2>
- <table>
- <thead>
- <tr>
- <th>ID</th>
- <th>Type</th>
- <th>Category</th>
- <th>Term</th>
- </tr>
- </thead>
- <tbody>
- <f:for each="{terms}" as="term">
- <tr>
- <td>{term.uid}</td>
- <td>{term.type}</td>
- <td>{term.category.title}</td>
- <td>{term.term}</td>
- </tr>
- </f:for>
- </tbody>
- </table>
- </f:section>
- </html>
|