This is my code
<record id="class_dashboard" model="ir.ui.view">
<field name="name">class.kanban</field>
<field name="model">class.dash</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<kanban>
<field name = "name"/>
<templates>
<t t-name="kanban-box">
<div>
<ul>
<li t-if="record.name.raw_value">Class Name: <field name="name"/></li>
</ul>
</div>
</t>
</templates>
</kanban>
</field>
</record>