tmpl: add a <div> test
parent
1430ebc5e3
commit
4aa99e4303
|
@ -270,6 +270,9 @@ fn (mut g Gen) sql_insert(node ast.SqlStmtLine, expr string, table_name string,
|
|||
}
|
||||
|
||||
fn (mut g Gen) sql_update(node ast.SqlStmtLine, expr string, table_name string) {
|
||||
// println(table_name)
|
||||
// println(expr)
|
||||
// println(node)
|
||||
g.write('update(${expr}._object, _SLIT("$table_name"), (orm__QueryData){')
|
||||
g.write('.kinds = new_array_from_c_array(0, 0, sizeof(orm__OperationKind), NULL),')
|
||||
g.write('.is_and = new_array_from_c_array(0, 0, sizeof(bool), NULL),')
|
||||
|
|
|
@ -34,6 +34,9 @@ const classes = `header ${ isLargeScreen() ? '' :
|
|||
<header>
|
||||
<h1>@{title}</h1>
|
||||
<p>@title</p>
|
||||
.hello {
|
||||
<b>hi</b><br>
|
||||
}
|
||||
<a href="@website.link">@website.link</a>
|
||||
<a href="mailto:example@@@website.link">Email</a>
|
||||
</header>
|
||||
|
|
|
@ -34,6 +34,9 @@ const classes = `header ${ isLargeScreen() ? '' :
|
|||
<header>
|
||||
<h1>TEST</h1>
|
||||
<p>TEST</p>
|
||||
<div class="hello">
|
||||
<b>hi</b><br>
|
||||
</div>
|
||||
<a href="example.com">example.com</a>
|
||||
<a href="mailto:example@example.com">Email</a>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue