Implements sign up during registration. Solves most of #215
This commit is contained in:
parent
511007138a
commit
e8ab94e1c7
12 changed files with 101 additions and 36 deletions
|
|
@ -105,7 +105,7 @@ Devise.setup do |config|
|
|||
# able to access the website for two days without confirming his account,
|
||||
# access will be blocked just in the third day. Default is 0.days, meaning
|
||||
# the user cannot access the website without confirming his account.
|
||||
# config.allow_unconfirmed_access_for = 2.days
|
||||
config.allow_unconfirmed_access_for = 2.days
|
||||
|
||||
# If true, requires any email changes to be confirmed (exactly the same way as
|
||||
# initial account confirmation) to be applied. Requires additional unconfirmed_email
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Formtastic::FormBuilder.include_blank_for_select_by_default = false
|
|||
# '<abbr title="required">*</abbr>'. In other words, if you configure formtastic.required
|
||||
# in your locale, it will replace the abbr title properly. But if you don't want to use
|
||||
# abbr tag, you can simply give a string as below
|
||||
Formtastic::FormBuilder.required_string = '(required)'
|
||||
Formtastic::FormBuilder.required_string = proc { Formtastic::Util.html_safe(%{ <span class="text-warning"><abbr title="This field is required">*</abbr></span>}) }
|
||||
|
||||
# Set the string that will be appended to the labels/fieldsets which are optional
|
||||
# Defaults to an empty string ("") and also accepts procs (see required_string above)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue