Indicate which fields will be public during sign up
[Delivers #16800519]
This commit is contained in:
parent
d253fbd34b
commit
0e225663d7
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||||
|
<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
width="67.488px" height="100px" viewBox="0 0 67.488 100" enable-background="new 0 0 67.488 100" xml:space="preserve">
|
||||||
|
<path d="M67.486,65.037V41.437l-7.284-0.472V26.458C60.202,11.868,48.333,0,33.744,0S7.286,11.868,7.286,26.458v14.507L0,41.437
|
||||||
|
v23.601v9.179v23.601L33.744,100l33.742-2.185V74.215h0.002L67.486,65.037z M37.646,78.455h-3.399h-1.006h-3.399l2.393-9.105
|
||||||
|
c-1.527-0.603-2.611-2.089-2.611-3.831c0-2.276,1.846-4.121,4.121-4.121s4.121,1.845,4.121,4.121c0,1.742-1.083,3.229-2.611,3.831
|
||||||
|
L37.646,78.455z M52.214,40.448l-18.47-1.196l-18.471,1.196v-13.99c0-10.184,8.285-18.469,18.471-18.469s18.47,8.285,18.47,18.469
|
||||||
|
V40.448z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1023 B |
|
@ -120,3 +120,10 @@ input.error {
|
||||||
.roman {
|
.roman {
|
||||||
list-style-type: lower-roman;
|
list-style-type: lower-roman;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.lock {
|
||||||
|
height: 9px;
|
||||||
|
width: 7px;
|
||||||
|
opacity: 0.8;
|
||||||
|
filter: alpha(opacity=80); /* For IE8 and earlier */
|
||||||
|
}
|
||||||
|
|
|
@ -3,25 +3,39 @@
|
||||||
= t("titles.adopt")
|
= t("titles.adopt")
|
||||||
#common_fields
|
#common_fields
|
||||||
= f.label "email", t("labels.email"), :id => "user_email_label"
|
= f.label "email", t("labels.email"), :id => "user_email_label"
|
||||||
|
%em
|
||||||
|
= image_tag "lock.svg", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
|
||||||
= f.text_field "email", :value => params[:user] ? params[:user][:email] : nil, :tabindex => 1
|
= f.text_field "email", :value => params[:user] ? params[:user][:email] : nil, :tabindex => 1
|
||||||
= f.label "new" , radio_button_tag("user", "new", true, :tabindex => 2).html_safe + t("labels.user_new")
|
= f.label "new" , radio_button_tag("user", "new", true, :tabindex => 2).html_safe + t("labels.user_new")
|
||||||
= f.label "existing", radio_button_tag("user", "existing").html_safe + t("labels.user_existing")
|
= f.label "existing", radio_button_tag("user", "existing").html_safe + t("labels.user_existing")
|
||||||
#user_sign_up_fields
|
#user_sign_up_fields
|
||||||
= f.label "name", t("labels.name"), :id => "user_name_label"
|
= f.label "name", t("labels.name"), :id => "user_name_label"
|
||||||
|
%em
|
||||||
|
= t("captions.public")
|
||||||
= f.text_field "name", :tabindex => 3
|
= f.text_field "name", :tabindex => 3
|
||||||
= f.label "organization", t("labels.organization"), :id => "user_organization_label"
|
= f.label "organization", t("labels.organization"), :id => "user_organization_label"
|
||||||
|
%em
|
||||||
|
= t("captions.public")
|
||||||
= f.text_field "organization", :tabindex => 4
|
= f.text_field "organization", :tabindex => 4
|
||||||
= f.label "voice_number", t("labels.voice_number"), :id => "user_voice_number_label"
|
= f.label "voice_number", t("labels.voice_number"), :id => "user_voice_number_label"
|
||||||
|
%em
|
||||||
|
= image_tag "lock.svg", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
|
||||||
= f.text_field "voice_number", :tabindex => 5
|
= f.text_field "voice_number", :tabindex => 5
|
||||||
= f.label "sms_number", t("labels.sms_number"), :id => "user_sms_number_label"
|
= f.label "sms_number", t("labels.sms_number"), :id => "user_sms_number_label"
|
||||||
|
%em
|
||||||
|
= image_tag "lock.svg", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
|
||||||
= f.text_field "sms_number", :tabindex => 6
|
= f.text_field "sms_number", :tabindex => 6
|
||||||
= f.label "password_confirmation", t("labels.password_choose"), :id => "user_password_confirmation_label"
|
= f.label "password_confirmation", t("labels.password_choose"), :id => "user_password_confirmation_label"
|
||||||
|
%em
|
||||||
|
= image_tag "lock.svg", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
|
||||||
= f.password_field "password_confirmation", :tabindex => 7
|
= f.password_field "password_confirmation", :tabindex => 7
|
||||||
= f.submit t("buttons.sign_up"), :tabindex => 8
|
= f.submit t("buttons.sign_up"), :tabindex => 8
|
||||||
%p
|
%p
|
||||||
= t("defaults.tos", :tos => link_to(t("titles.tos"), tos_path, :tabindex => 3, :id => "tos_link")).html_safe
|
= t("defaults.tos", :tos => link_to(t("titles.tos"), tos_path, :tabindex => 3, :id => "tos_link")).html_safe
|
||||||
#user_sign_in_fields{:style => "display: none;"}
|
#user_sign_in_fields{:style => "display: none;"}
|
||||||
= f.label "password", t("labels.password"), :id => "user_password_label"
|
= f.label "password", t("labels.password"), :id => "user_password_label"
|
||||||
|
%em
|
||||||
|
= image_tag "lock.svg", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
|
||||||
= f.password_field "password", :tabindex => 0
|
= f.password_field "password", :tabindex => 0
|
||||||
= f.label "remember_me", (f.check_box("remember_me", :checked => true, :tabindex => 0).html_safe + t("labels.remember_me")), :id => "user_remember_me_label"
|
= f.label "remember_me", (f.check_box("remember_me", :checked => true, :tabindex => 0).html_safe + t("labels.remember_me")), :id => "user_remember_me_label"
|
||||||
= f.submit t("buttons.sign_in"), :tabindex => 0
|
= f.submit t("buttons.sign_in"), :tabindex => 0
|
||||||
|
|
|
@ -18,6 +18,8 @@ en:
|
||||||
captions:
|
captions:
|
||||||
password: "(leave blank if you don't want to change it)"
|
password: "(leave blank if you don't want to change it)"
|
||||||
password_current: "(we need your current password to confirm your changes)"
|
password_current: "(we need your current password to confirm your changes)"
|
||||||
|
private: "(private)"
|
||||||
|
public: "(may be visible to other users)"
|
||||||
defaults:
|
defaults:
|
||||||
city: "Boston, MA"
|
city: "Boston, MA"
|
||||||
hydrant_name: "This hydrant"
|
hydrant_name: "This hydrant"
|
||||||
|
|
Loading…
Reference in New Issue