diff --git a/assets/views/shop/checkout.html b/assets/views/shop/checkout.html index a1b650c..d2d859e 100644 --- a/assets/views/shop/checkout.html +++ b/assets/views/shop/checkout.html @@ -21,8 +21,7 @@ packetaKey: '{{ packeta_api_key }}', fmt(c) { return (c / 100).toFixed(2) }, pickPoint() { - Packeta.Widget.pick(this.packetaKey, (point) => - {{ ui::csrf_field() }} { + Packeta.Widget.pick(this.packetaKey, (point) => { if (point) { this.pointId = String(point.id); this.pointName = point.formatedValue || point.name } }) }, @@ -31,6 +30,7 @@ } }" class="mt-6 grid gap-8 lg:grid-cols-3"> + {{ ui::csrf_field() }}