From 4beb92098a0c1565aca7e674c884992ee3723aad Mon Sep 17 00:00:00 2001
From: Abdurrahman Rajab <rajab-2@windowslive.com>
Date: Sun, 18 Apr 2021 12:31:20 +0000
Subject: [PATCH] RTL support and Arabic Translation (#178)
---
layouts/partials/contact.html | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html
index e598114..e7a0b68 100644
--- a/layouts/partials/contact.html
+++ b/layouts/partials/contact.html
@@ -3,12 +3,15 @@
<form class="form-style" method="POST" action="{{ .Site.Params.contactFormAction }}" data-toggle="validator">
<ul>
<li>
- <input class="field-style field-full" type="text" name="username" id="username" placeholder="Name" required>
+ <label for="username">{{ i18n "name" }}</label>
+ <input class="field-style field-full" type="text" name="username" id="username" placeholder="{{ i18n "name" }}" required>
</li>
<li>
- <input class="field-style field-full" type="email" id="email" name="email" placeholder="Email" required>
+ <label for="email">{{ i18n "email" }}</label>
+ <input class="field-style field-full" type="email" id="email" name="email" placeholder="{{i18n "email" }}" required>
</li>
<li>
+ <label for="message">{{ i18n "message" }}</label>
<textarea class="field-style" name="message" id="message" rows="6" placeholder="{{ i18n "message" }}"></textarea>
</li>
<li>
--
Gitblit v1.10.0