Pārlūkot izejas kodu

Ajout du numéro de téléphone

garthh 10 mēneši atpakaļ
vecāks
revīzija
b2e8e2366f

+ 12 - 2
themes/apdli/account/account.ftl

@@ -58,11 +58,21 @@
 
         <div class="form-group ${messagesPerField.printIfExists('nickName','has-error')}">
             <div class="col-sm-2 col-md-2">
-                <label for="nickName" class="control-label">${msg("nickName")}</label> <span class="required">*</span>
+                <label for="user.attributes.nickname" class="control-label">${msg("nickName")}</label> <span class="required">*</span>
             </div>
 
             <div class="col-sm-10 col-md-10">
-                <input type="text" class="form-control" id="nickName" name="user.attributes.nickname" value="${(account.attributes.nickname!'')}"/>
+                <input type="text" class="form-control" id="user.attributes.nickname" name="user.attributes.nickname" value="${(account.attributes.nickname!'')}"/>
+            </div>
+        </div>
+
+        <div class="form-group ${messagesPerField.printIfExists('mobile','has-error')}">
+            <div class="col-sm-2 col-md-2">
+                <label for="user.attributes.mobile" class="control-label">${msg("mobile")}</label> <span class="required">*</span>
+            </div>
+
+            <div class="col-sm-10 col-md-10">
+                <input type="text" class="form-control" id="user.attributes.mobile" name="user.attributes.mobile" value="${(account.attributes.mobile!'')}"/>
             </div>
         </div>
 

+ 1 - 0
themes/apdli/account/messages/messages_fr.properties

@@ -25,6 +25,7 @@ fullName=Nom complet
 lastName=Nom
 familyName=Nom de famille
 nickName=Surnom (affich\u00e9)
+mobile=T\u00e9l\u00e9phone mobile
 password=Mot de passe
 passwordConfirm=Confirmation
 passwordNew=Nouveau mot de passe