_layouts/calculator.html in appscms-tools-theme-2.1.4 vs _layouts/calculator.html in appscms-tools-theme-2.1.5
- old
+ new
@@ -8,13 +8,13 @@
{% assign calculatorData= site.data[folder][lang][file].calculatorData %}
<div class="container">
<div class="calculator-workspace">
<div class="row w-100 mx-auto">
- <form>
+ <form id="calculator-form" class="w-100">
{%- for item in calculatorData.calculatorRow -%}
- <div class="row">
+ <div class="row" id="calculator-row">
{%- if item.labelName -%}
<div class="col-md-12">
<label for="{{item.labelId}}">{{item.labelName}}</label>
</div>
{%- endif -%}
@@ -45,10 +45,11 @@
<div class="row w-100 mx-auto">
{%- if calculatorData.ButtonValue -%}
<div class="col-12 mt-4 px-0">
<div class="d-flex justify-content-end">
<button class="submit-button" style="background-color:{{site.data[folder][lang][file].color}} ;"
- type="{{calculatorData.ButtonType}}" id="{{calculatorData.ButtonId}}">{{calculatorData.ButtonValue}}</button>
+ type="{{calculatorData.ButtonType}}"
+ id="{{calculatorData.ButtonId}}">{{calculatorData.ButtonValue}}</button>
</div>
</div>
{%- endif -%}
{%- if calculatorData.resultDiv -%}
\ No newline at end of file