From 267e4042e3bf3f8e6f7ddd2cce5efd0a5119b917 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Wed, 6 Jan 2021 11:57:53 +0200 Subject: [PATCH] Fix plan changes --- lib/plausible_web/templates/billing/change_plan.html.eex | 2 +- .../templates/billing/change_plan_preview.html.eex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plausible_web/templates/billing/change_plan.html.eex b/lib/plausible_web/templates/billing/change_plan.html.eex index 082a0c1bc..25f05d48b 100644 --- a/lib/plausible_web/templates/billing/change_plan.html.eex +++ b/lib/plausible_web/templates/billing/change_plan.html.eex @@ -110,7 +110,7 @@ Preview changes - diff --git a/lib/plausible_web/templates/billing/change_plan_preview.html.eex b/lib/plausible_web/templates/billing/change_plan_preview.html.eex index b1cb3f689..55390b3c1 100644 --- a/lib/plausible_web/templates/billing/change_plan_preview.html.eex +++ b/lib/plausible_web/templates/billing/change_plan_preview.html.eex @@ -71,7 +71,7 @@ - <%= button("Confirm plan change", to: "/billing/change-plan/", method: :post, class: "inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150") %> + <%= button("Confirm plan change", to: "/billing/change-plan/#{@preview_info["plan_id"]}", method: :post, class: "inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150") %>