Commit b6bee3dc56b60353136927d385145130886ae951
Committed by
Antonio Terceiro
1 parent
56c00bb2
Exists in
master
and in
29 other branches
Substituting 'helps' -> With small tag for content
* This patch includes all the substitutions of help animations to 'small' tagged content. * This solutions was used because the contents in these cases were important and shouldn't be removed.
Showing
1 changed file
with
9 additions
and
15 deletions
Show diff stats
app/views/account/_signup_form.rhtml
... | ... | @@ -21,29 +21,23 @@ |
21 | 21 | <%= required_fields_message %> |
22 | 22 | |
23 | 23 | <div id='signup-email'> |
24 | -<%= required f.text_field(:email, | |
25 | - :help => help=_('This e-mail address will be used to contact you.')) %> | |
26 | -<div class='help-small-msg'><%= help %></div> | |
24 | + <%= required f.text_field(:email) %> | |
25 | + <%= content_tag(:small,_('This e-mail address will be used to contact you.')) %> | |
27 | 26 | </div> |
28 | 27 | |
29 | -<%= required f.text_field(:login, | |
30 | - :help => help=_('Insert your login'), | |
31 | - :onchange => 'this.value = convToValidLogin( this.value )') %> | |
32 | -<div id='url-check'> | |
33 | -<div class='help-small-msg'><%= help %></div> | |
34 | -</div> | |
28 | +<%= required f.text_field(:login, :onchange => 'this.value = convToValidLogin( this.value )') %> | |
29 | +<%= content_tag(:small,_('Insert your login')) %> | |
30 | +<div id='url-check'></div> | |
35 | 31 | |
36 | 32 | <%= observe_field 'user_login', :url => {:action => 'check_url'}, :with => 'identifier', :update => 'url-check' %> |
37 | 33 | |
38 | 34 | <div id='signup-password'> |
39 | -<%= required f.password_field(:password, | |
40 | - :help => help=_('Choose a password that you can remember easily. It must have at least 4 characters.')) %> | |
41 | -<div class='help-small-msg'><%= help %></div> | |
35 | + <%= required f.password_field(:password) %> | |
36 | + <%= content_tag(:small,_('Choose a password that you can remember easily. It must have at least 4 characters.')) %> | |
42 | 37 | </div> |
43 | 38 | |
44 | -<%= required f.password_field(:password_confirmation, | |
45 | - :help => help=_('To confirm, repeat your password.')) %> | |
46 | -<div class='help-small-msg'><%= help %></div> | |
39 | +<%= required f.password_field(:password_confirmation) %> | |
40 | +<%= content_tag(:small,_('To confirm, repeat your password.')) %> | |
47 | 41 | |
48 | 42 | <% labelled_fields_for :profile_data, @person do |f| %> |
49 | 43 | <%= render :partial => 'profile_editor/person_form', :locals => {:f => f} %> | ... | ... |