Activation variables
| Variable | Description |
|---|---|
| first_name | Input field for first name e.g. {% text_field "first_name", class:"text" % %} |
| last_name | Input field for last name e.g. {% text_field "last_name", class:"text" %} |
| activation_code | Unique activation code passed through activation form e.g. <input type="hidden" name="activation[activation_code]" value="{{ activation.activation_code }}" /> |
| submitted_address | Input field for address e.g. {% text_field "submitted_address", class:"text" %} |
| password | Input field for password e.g. {% password_field "password", class:"text" %} |
| password_confirmation | Input field for password confirmation e.g. {% password_field "password_confirmation", class:"text" %} |
| is_address_needed | Checks if address is required for activation e.g. {% if activation.is_address_needed %} |
| is_mobile_needed | Checks if a mobile phone is required for activation e.g. {% if activation.is_mobile_needed %} |
| mobile_number | Input field for mobile phone number e.g. {% text_field "mobile_number", class:"text" %} |
| mobile_opt_in | Checkbox for text message opt-in e.g. {% check_box "mobile_opt_in", class:"check_box" %} |
| mobile_opt_in | Checkbox for text message opt-in e.g. {% check_box "mobile_opt_in", class:"check_box" %} |
Example form
These variables could be used together in the activation form like this: