Initial commit
This commit is contained in:
12
Groceries/Common/_TurboStream.cshtml
Normal file
12
Groceries/Common/_TurboStream.cshtml
Normal file
@ -0,0 +1,12 @@
|
||||
<turbo-stream action="@ViewBag.Action" target="@ViewBag.Target">
|
||||
@if (ViewBag.Action != "remove")
|
||||
{
|
||||
<template>
|
||||
@RenderBody()
|
||||
</template>
|
||||
}
|
||||
else
|
||||
{
|
||||
IgnoreBody();
|
||||
}
|
||||
</turbo-stream>
|
Reference in New Issue
Block a user