Skip to content

Commit a6bade3

Browse files
committed
Fixed intro text and link when joining section.
1 parent 6c85ef7 commit a6bade3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dashboard/app/views/followers/student_user_new.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
%h2 Register to join the class #{@section.name} taught by #{@section.user.name}
1212
%p
1313
If you already have an account at Code.org, please
14-
%a{href: "http://#{request.site}/users/sign_in?return_to=http://#{request.site}/join/#{params[:section_code]}"} sign into your account
14+
%a{href: "http://#{canonical_hostname('studio.code.org')}/users/sign_in?return_to=http://#{canonical_hostname('studio.code.org')}/join/#{params[:section_code]}"} sign into your account
1515
before joining the section.
16-
%p If you don't have an account at Code.org yet, please fill out the fields below to create an account and join the section.
16+
%p{style: "margin-bottom: 30px;"} If you don't have an account at Code.org yet, please fill out the fields below to create an account and join the section.
1717
- if @user.errors.any?
1818
#error_explanation
1919
%ul

0 commit comments

Comments
 (0)