Commit 4054ffc2bc14e0b35da842ed5447687997def075
1 parent
0e859c8f
Exists in
master
and in
22 other branches
ActionItem1165: better signup screen
Showing
1 changed file
with
10 additions
and
8 deletions
Show diff stats
app/views/account/_signup_form.rhtml
@@ -50,18 +50,20 @@ | @@ -50,18 +50,20 @@ | ||
50 | <% end %> | 50 | <% end %> |
51 | 51 | ||
52 | <% if @terms_of_use %> | 52 | <% if @terms_of_use %> |
53 | - <%= _("By clicking on 'I accept the terms of use' below you are agreeing to the %s") % | 53 | + <div id='terms-of-use-box' class='formfieldline'> |
54 | + <%= _("By clicking on 'I accept the terms of use' below you are agreeing to the %s") % | ||
54 | link_to_function(_('Terms of use'), nil) do |page| | 55 | link_to_function(_('Terms of use'), nil) do |page| |
55 | page['terms-of-use'].show | 56 | page['terms-of-use'].show |
56 | - end %> | ||
57 | - | ||
58 | - <div id='terms-of-use' style='display: none;'> | ||
59 | - <%= @terms_of_use %> | ||
60 | - <%= link_to_function(_('Hide'), nil) do |page| | ||
61 | - page['terms-of-use'].hide | ||
62 | end %> | 57 | end %> |
58 | + | ||
59 | + <div id='terms-of-use' style='display: none;'> | ||
60 | + <%= @terms_of_use %> | ||
61 | + <%= link_to_function(_('Hide'), nil) do |page| | ||
62 | + page['terms-of-use'].hide | ||
63 | + end %> | ||
64 | + </div> | ||
65 | + <p><%= labelled_check_box(_('I accept the terms of use'), 'user[terms_accepted]') %></p> | ||
63 | </div> | 66 | </div> |
64 | - <p><%= labelled_check_box(_('I accept the terms of use'), 'user[terms_accepted]') %></p> | ||
65 | <% end %> | 67 | <% end %> |
66 | 68 | ||
67 | <% if params[:enterprise_code] %> | 69 | <% if params[:enterprise_code] %> |