mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Started to
This commit is contained in:
parent
4d7a99aeea
commit
a389d731c2
@ -73,4 +73,14 @@ ComunicWeb.common.langs.en = {
|
||||
_login_page_error_message: "Please check your usermail and password !",
|
||||
_login_page_bad_input: "Please check what you've typed !",
|
||||
_login_page_create_account_lnk: "Create an account",
|
||||
|
||||
//Create account page
|
||||
form_create_account_title: "Create an account",
|
||||
form_create_account_intro: "Use the following form to create an account and join the network : ",
|
||||
form_create_account_first_name_label: "First name",
|
||||
form_create_account_first_name_placeholder: "Your first name",
|
||||
form_create_account_last_name_label: "Last name",
|
||||
form_create_account_last_name_placeholder: "Your last name",
|
||||
form_create_account_email_address_label: "Email address <small><i class='fa fa-warning'></i> Warning! You will not be able to change this later !</small>",
|
||||
form_create_account_email_address_placeholder: "Your email address",
|
||||
}
|
@ -37,14 +37,14 @@ ComunicWeb.pages.createAccount = {
|
||||
createElem2({
|
||||
appendTo: formRoot,
|
||||
type: "h2",
|
||||
innerHTML: "Create an account"
|
||||
innerHTML: lang("form_create_account_title")
|
||||
});
|
||||
|
||||
//Add a message
|
||||
createElem2({
|
||||
appendTo: formRoot,
|
||||
type: "p",
|
||||
innerHTML: "Use the following form to create an account and join the network : "
|
||||
innerHTML: lang("form_create_account_intro")
|
||||
});
|
||||
|
||||
//Create the message target
|
||||
@ -56,24 +56,24 @@ ComunicWeb.pages.createAccount = {
|
||||
//Input user first name
|
||||
var firstNameInput = createFormGroup({
|
||||
target: formRoot,
|
||||
label: "First name",
|
||||
placeholder: "Your first name",
|
||||
label: lang("form_create_account_first_name_label"),
|
||||
placeholder: lang("form_create_account_first_name_placeholder"),
|
||||
type: "text"
|
||||
});
|
||||
|
||||
//Input user last name
|
||||
var lastNameInput = createFormGroup({
|
||||
target: formRoot,
|
||||
label: "Last name",
|
||||
placeholder: "Your last name",
|
||||
label: lang("form_create_account_last_name_label"),
|
||||
placeholder: lang("form_create_account_last_name_placeholder"),
|
||||
type: "text"
|
||||
});
|
||||
|
||||
//Input user email
|
||||
var emailInput = createFormGroup({
|
||||
target: formRoot,
|
||||
label: "Email address <small><i class='fa fa-warning'></i> Warning! You will not be able to change this later !</small>",
|
||||
placeholder: "Your email address",
|
||||
label: lang("form_create_account_email_address_label"),
|
||||
placeholder: lang("form_create_account_email_address_placeholder"),
|
||||
type: "email"
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user