-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
register: added info box for institutional email #1101
base: master
Are you sure you want to change the base?
Conversation
@@ -52,7 +62,10 @@ <h1 class="ui inverted header text-center">Research. Shared! Sign up today</h1> | |||
{{ form.hidden_tag() }} | |||
|
|||
{%- block registration_form_fields scoped %} | |||
{{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }} | |||
{{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }} | |||
{{ render_field_info(_('Please use an institutional email address'), _('An institutional email address helps us verify your account and prevents our spam filtering system from automatically blocking your account.')) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lnielsen is that the final text we want to have on the tooltip? I don't remember if we decided on something else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0einstein0 do you know if we can go ahead with this specific text?
|
||
.field-info{ | ||
padding: 0.4em !important; | ||
margin-top: -0.7em !important; | ||
[data-tooltip]::after { | ||
width: 25vw; | ||
white-space: break-spaces; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably fine, but wondering if this is the right file to put this CSS rule.
@@ -52,7 +62,10 @@ <h1 class="ui inverted header text-center">Research. Shared! Sign up today</h1> | |||
{{ form.hidden_tag() }} | |||
|
|||
{%- block registration_form_fields scoped %} | |||
{{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }} | |||
{{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }} | |||
{{ render_field_info(_('Please use an institutional email address'), _('An institutional email address helps us verify your account and prevents our spam filtering system from automatically blocking your account.')) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0einstein0 do you know if we can go ahead with this specific text?
Closes Issue #1095
