Skip to content

Commit 5dc200b

Browse files
committed
Add text about using existing account when joining section.
1 parent 04c9ba8 commit 5dc200b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
You are currently signed in. #{link_to "Return home", root_path} or #{link_to("log out", destroy_user_session_path)} to proceed.
1010
- else
1111
%h2 Register to join the class #{@section.name} taught by #{@section.user.name}
12+
%p
13+
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
15+
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.
1217
- if @user.errors.any?
1318
#error_explanation
1419
%ul

0 commit comments

Comments
 (0)