From f2f95c85593027fdef587bad9a9f117c56ab67f3 Mon Sep 17 00:00:00 2001 From: PCoder Date: Mon, 1 Oct 2018 08:56:45 +0200 Subject: [PATCH] Update min attribute according to minimum ram in the plugin --- .../templates/datacenterlight/includes/_calculator_form.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/datacenterlight/templates/datacenterlight/includes/_calculator_form.html b/datacenterlight/templates/datacenterlight/includes/_calculator_form.html index 0b73c83f..6306357e 100644 --- a/datacenterlight/templates/datacenterlight/includes/_calculator_form.html +++ b/datacenterlight/templates/datacenterlight/includes/_calculator_form.html @@ -10,6 +10,7 @@ window.hddUnitPrice = {{vm_pricing.hdd_unit_price|default:0}}; window.discountAmount = {{vm_pricing.discount_amount|default:0}}; window.minRam = {{min_ram}}; + window.minRamErr = '{% blocktrans with min_ram=min_ram %}Please enter a value in range {{min_ram}} - 200.{% endblocktrans %}'; {% endif %} @@ -56,7 +57,7 @@
- GB RAM