Description: Using a table field within Fluid Field correct syntax
Added a Simple Table Field (with no defined columns or rows) to the Fluid Field and input data.
I’m struggling with the syntax to get it to output correctly.
Any suggestions on what I’m doing wrong?
{content}
<div class="row">
<div class="col-md-12">
<table class="footable table table-stripped" data-sorting="false" style="text-align: left;">
{content:insurance_section_data_table prefix="content:st:"}
<tr data-id="{content:st:row_id}" switch="{switch='odd|even'}">
{content:st:columns}
{if content:st:is_first_row}
<th data-id="{content:st:column_id}">
{content:st:value}
</th>
{if:elseif content:st:is_last_row}
<td data-id="{content:st:column_id}">
<i>{content:st:value}</i>
</td>
{if:else}
<td data-id="{content:st:column_id}">
{content:st:value}
</td>
{/if}
{/content:st:columns}
</tr>
{/content:insurance_section_data_table}
</table>
<p> <br />
</p>
</div>
<p> <br />
</p>
</div><p><!-- /.row --><br />
{/content}
Description: Using a table field within Fluid Field correct syntax
Added a Simple Table Field (with no defined columns or rows) to the Fluid Field and input data.
I’m struggling with the syntax to get it to output correctly.
Any suggestions on what I’m doing wrong?