Update price label and add description in CreateSubscriptionPage

This commit is contained in:
seaznCode 2026-05-05 22:04:13 +02:00
parent c7225d70cb
commit 839879ed95

View File

@ -304,7 +304,7 @@ export default function CreateSubscriptionPage() {
<div className="grid grid-cols-1 gap-6 sm:grid-cols-2">
{/* Price */}
<div>
<label htmlFor="price" className="block text-sm font-semibold text-slate-700 mb-1">Price</label>
<label htmlFor="price" className="block text-sm font-semibold text-slate-700 mb-1">Price per pack</label>
<input
id="price"
name="price"
@ -318,6 +318,7 @@ export default function CreateSubscriptionPage() {
onChange={e => setPrice(e.target.value)}
onBlur={e => { const n = parseFloat(e.target.value); if (!isNaN(n)) setPrice(n.toFixed(2)); }}
/>
<p className="mt-1 text-xs text-slate-500">Enter the gross price for one pack. The system converts it to the internal per-capsule value automatically.</p>
</div>
{/* Currency */}