<!-- includes/$dataname/list_view.inc -->
<div class="list-view">
{if !$display_cmd}{assign var="display_cmd" value="edit"}{/if}
{if !$$dataname_list}{assign var="$dataname_list" value=$list_view}{/if}
{if !$$dataname_list}{assign var="$dataname_list" value=$table_view}{/if}
<table cellspacing="0" summary="list table">
{foreach from=$$dataname_list item="row" key="key" name="$dataname_list"}
{if $display_cmd!='none'}
	<tr>
		<td colspan="2">No.<a href="{$display_cmd}?id={$row.id.body}">{$row.sequence.value}</a></td>
	</tr>
{/if}
<!-- columns -->
	<tr>
		<th></th>
		<td></td>
	</tr>
<!-- /columns -->
	<tr><td colspan="2">&nbsp;</td></tr>
{foreachelse}
	<tr>
		<td>データがありません</td>
	</tr>
{/foreach}
</table>
</div>
<!-- end of includes/$dataname/list_view.inc -->
