From f3cfe19e68f32d9f94d3e1f3e966acdc33dd44f5 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Wed, 26 Jul 2017 20:38:53 +0200 Subject: [PATCH] Reformatted the template file and used opennebula_vm_template_id instead of template_id --- .../datacenterlight/calculator_form.html | 62 +++++++++++-------- 1 file changed, 36 insertions(+), 26 deletions(-) diff --git a/datacenterlight/templates/datacenterlight/calculator_form.html b/datacenterlight/templates/datacenterlight/calculator_form.html index de97f295..009a358d 100644 --- a/datacenterlight/templates/datacenterlight/calculator_form.html +++ b/datacenterlight/templates/datacenterlight/calculator_form.html @@ -2,7 +2,7 @@
{% csrf_token %}
-

{% trans "VM hosting" %}

+

{% trans "VM hosting" %}

15 @@ -17,28 +17,31 @@
- - - Core - + + + Core +
- - - GB RAM - + + + GB RAM +
- - - {% trans "GB Storage (SSD)" %} - + + + {% trans "GB Storage (SSD)" %} +
@@ -46,7 +49,7 @@ @@ -56,31 +59,38 @@ -->
- - + +
{% for message in messages %} - {% if 'name' in message.tags %} -
  • + {% if 'name' in message.tags %} +
      +
    • {{ message|safe }} -
    - {% endif %} +
  • +
+ {% endif %} {% endfor %}
- - + +
{% for message in messages %} - {% if 'email' in message.tags %} -
  • + {% if 'email' in message.tags %} +
      +
    • {{ message|safe }} -
    - {% endif %} +
  • +
+ {% endif %} {% endfor %}