feat: Improve home and contact CMS field guidance

This commit is contained in:
Tống Thành Đạt
2026-04-10 01:38:30 +07:00
parent ed09c7fa89
commit 7ce5921fe0
15 changed files with 529 additions and 230 deletions

View File

@@ -19,6 +19,8 @@
id="achievementsHeading"
value="<%= data.achievements?.heading || '' %>"
placeholder="e.g., Our Achievements in Numbers"
maxlength="56"
data-maxlength="56"
/>
</div>
<div class="col-md-6">
@@ -29,6 +31,8 @@
id="achievementsSubheading"
value="<%= data.achievements?.subheading || '' %>"
placeholder="e.g., Did You Know"
maxlength="32"
data-maxlength="32"
/>
</div>
</div>
@@ -59,8 +63,11 @@
<input
type="text"
class="form-control achievement-value"
id="achievementValue_<%= i %>"
value="<%= item.value || '' %>"
placeholder="e.g., 95"
maxlength="6"
data-maxlength="6"
/>
</div>
<div class="col-md-3">
@@ -68,8 +75,11 @@
<input
type="text"
class="form-control achievement-suffix"
id="achievementSuffix_<%= i %>"
value="<%= item.suffix || '' %>"
placeholder="e.g., %"
maxlength="4"
data-maxlength="4"
/>
</div>
<div class="col-md-6">
@@ -77,16 +87,22 @@
<input
type="text"
class="form-control achievement-label"
id="achievementLabel_<%= i %>"
value="<%= item.label || '' %>"
placeholder="e.g., Visa Success Rate"
maxlength="40"
data-maxlength="40"
/>
</div>
<div class="col-md-12">
<label class="form-label fw-medium">Description</label>
<textarea
class="form-control achievement-description"
id="achievementDescription_<%= i %>"
rows="2"
placeholder="Short description of this achievement"
maxlength="120"
data-maxlength="120"
><%= item.description || '' %></textarea>
</div>
</div>