1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/// The HTML id for the username input element.
pub const FORM_USERNAME_ID: &str = "form-username";
/// The HTML id for the email input element.
pub const FORM_EMAIL_ID: &str = "form-email";
/// The HTML id for the password input element.
pub const FORM_PASSWORD_ID: &str = "form-password";
/// The HTML id for the agree checkbox element.
pub const FORM_AGREE_ID: &str = "form-agree";
/// The HTML name attribute for the username input element.
pub const FORM_USERNAME_NAME: &str = "username";
/// The HTML name attribute for the email input element.
pub const FORM_EMAIL_NAME: &str = "email";
/// The HTML name attribute for the password input element.
pub const FORM_PASSWORD_NAME: &str = "password";
/// The HTML name attribute for the agree checkbox element.
pub const FORM_AGREE_NAME: &str = "agree";
/// The HTML input type for text.
pub const FORM_TEXT_TYPE: &str = "text";
/// The HTML input type for email.
pub const FORM_EMAIL_TYPE: &str = "email";
/// The HTML input type for password.
pub const FORM_PASSWORD_TYPE: &str = "password";
/// The HTML input type for checkbox.
pub const FORM_CHECKBOX_TYPE: &str = "checkbox";
/// The HTML autocomplete attribute value for username.
pub const FORM_AUTOCOMPLETE_USERNAME: &str = "username";
/// The HTML autocomplete attribute value for email.
pub const FORM_AUTOCOMPLETE_EMAIL: &str = "email";
/// The HTML autocomplete attribute value for new-password.
pub const FORM_AUTOCOMPLETE_NEW_PASSWORD: &str = "new-password";
/// The HTML autocomplete attribute value for off.
pub const FORM_AUTOCOMPLETE_OFF: &str = "off";
/// The HTML placeholder for the username input element.
pub const FORM_USERNAME_PLACEHOLDER: &str = "Enter username";
/// The HTML placeholder for the email input element.
pub const FORM_EMAIL_PLACEHOLDER: &str = "Enter email";
/// The HTML placeholder for the password input element.
pub const FORM_PASSWORD_PLACEHOLDER: &str = "Enter password";