summaryrefslogtreecommitdiff
path: root/views/staff/plans/_form.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/staff/plans/_form.ejs')
-rw-r--r--views/staff/plans/_form.ejs24
1 files changed, 12 insertions, 12 deletions
diff --git a/views/staff/plans/_form.ejs b/views/staff/plans/_form.ejs
index b55c5cd..0240e56 100644
--- a/views/staff/plans/_form.ejs
+++ b/views/staff/plans/_form.ejs
@@ -18,7 +18,7 @@
<li>
<label for="plan_level">Level</label>
- <div><input id="plan_level" name="level" type="number" value="[[- plan.level ]]"></div>
+ <div><input id="plan_level" name="level" type="number" min="0" value="[[- plan.level ]]"></div>
</li>
<!-- - - - - -->
@@ -29,12 +29,12 @@
<li>
<label for="plan_monthly_price">Monthly Price</label>
- <div><input id="plan_monthly_price" name="monthly_price" type="number" value="[[- plan.monthly_price ]]"></div>
+ <div><input id="plan_monthly_price" name="monthly_price" type="number" min="0" value="[[- plan.monthly_price ]]"></div>
</li>
<li>
<label for="plan_yearly_price">Yearly Price</label>
- <div><input id="plan_yearly_price" name="yearly_price" type="number" value="[[- plan.yearly_price ]]"></div>
+ <div><input id="plan_yearly_price" name="yearly_price" type="number" min="0" value="[[- plan.yearly_price ]]"></div>
</li>
<p>
@@ -49,22 +49,22 @@
<li>
<label for="plan_basic_layout_monthly_price">Basic Template Price (Monthly)</label>
- <div><input id="plan_basic_layout_monthly_price" name="basic_layout_monthly_price" type="number" value="[[- plan.basic_layout_monthly_price ]]"></div>
+ <div><input id="plan_basic_layout_monthly_price" name="basic_layout_monthly_price" type="number" min="0" value="[[- plan.basic_layout_monthly_price ]]"></div>
</li>
<li>
<label for="plan_basic_layout_yearly_price">Basic Template Price (Yearly)</label>
- <div><input id="plan_basic_layout_yearly_price" name="basic_layout_yearly_price" type="number" value="[[- plan.basic_layout_yearly_price ]]"></div>
+ <div><input id="plan_basic_layout_yearly_price" name="basic_layout_yearly_price" type="number" min="0" value="[[- plan.basic_layout_yearly_price ]]"></div>
</li>
<li>
<label for="plan_pro_layout_monthly_price">Pro Template Price (Monthly)</label>
- <div><input id="plan_pro_layout_monthly_price" name="pro_layout_monthly_price" type="number" value="[[- plan.pro_layout_monthly_price ]]"></div>
+ <div><input id="plan_pro_layout_monthly_price" name="pro_layout_monthly_price" type="number" min="0" value="[[- plan.pro_layout_monthly_price ]]"></div>
</li>
<li>
<label for="plan_pro_layout_yearly_price">Pro Template Price (Yearly)</label>
- <div><input id="plan_pro_layout_yearly_price" name="pro_layout_yearly_price" type="number" value="[[- plan.pro_layout_yearly_price ]]"></div>
+ <div><input id="plan_pro_layout_yearly_price" name="pro_layout_yearly_price" type="number" min="0" value="[[- plan.pro_layout_yearly_price ]]"></div>
</li>
<!-- - - - - -->
@@ -75,12 +75,12 @@
<li>
<label for="plan_basic_layout_limit">Basic Template Limit</label>
- <div><input id="plan_basic_layout_limit" name="basic_layout_limit" type="number" value="[[- plan.basic_layout_limit ]]"></div>
+ <div><input id="plan_basic_layout_limit" name="basic_layout_limit" type="number" min="0" value="[[- plan.basic_layout_limit ]]"></div>
</li>
<li>
<label for="plan_pro_layout_limit">Pro Template Limit</label>
- <div><input id="plan_pro_layout_limit" name="pro_layout_limit" type="number" value="[[- plan.pro_layout_limit ]]"></div>
+ <div><input id="plan_pro_layout_limit" name="pro_layout_limit" type="number" min="0" value="[[- plan.pro_layout_limit ]]"></div>
</li>
<!-- - - - - -->
@@ -91,17 +91,17 @@
<li>
<label for="plan_stock_project_limit">Stock Project Limit</label>
- <div><input id="plan_stock_project_limit" name="stock_project_limit" type="number" value="[[- plan.stock_project_limit ]]"></div>
+ <div><input id="plan_stock_project_limit" name="stock_project_limit" type="number" min="0" value="[[- plan.stock_project_limit ]]"></div>
</li>
<li>
<label for="plan_basic_project_limit">Basic Project Limit</label>
- <div><input id="plan_basic_project_limit" name="basic_project_limit" type="number" value="[[- plan.basic_project_limit ]]"></div>
+ <div><input id="plan_basic_project_limit" name="basic_project_limit" type="number" min="0" value="[[- plan.basic_project_limit ]]"></div>
</li>
<li>
<label for="plan_pro_project_limit">Pro Layout Limit</label>
- <div><input id="plan_pro_project_limit" name="pro_project_limit" type="number" value="[[- plan.pro_project_limit ]]"></div>
+ <div><input id="plan_pro_project_limit" name="pro_project_limit" type="number" min="0" value="[[- plan.pro_project_limit ]]"></div>
</li>
<!-- - - - - -->