Confirm new subscription plan

Due now
Your card will be charged a pro-rated amount for the current billing period
Amount Date
$<%= @preview_info["immediate_payment"]["amount"] %> <%= present_date(@preview_info["immediate_payment"]["date"]) %>
Next payment
Amount Date
$<%= @preview_info["next_payment"]["amount"] %> <%= present_date(@preview_info["next_payment"]["date"]) %>
Back <%= 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") %>
Questions? Contact <%= link("support@plausible.io", to: "mailto: support@plausible.io", class: "text-indigo-500") %>