asciinema.org/app/views/users/new.html.slim

39 lines
1.2 KiB
Plaintext
Raw Normal View History

2013-11-18 11:40:49 +00:00
.container
.row
.col-md-6.new-user
h1 New user?
2013-10-21 16:26:18 +00:00
p
' Every Asciinema user gets a profile page at
br
a href="#"
2013-11-27 22:46:42 +00:00
| #{root_url}~
2013-10-21 16:26:18 +00:00
strong username
' . Pick a desired username below.
2013-11-18 11:40:49 +00:00
= form_for @user, url: user_path do |f|
.form-group
= f.label :nickname, 'Pick a username:'
= f.text_field :nickname, required: true, 'class' => 'form-control', 'data-behavior' => 'focus'
.form-group
= f.submit 'Start recording', class: 'btn btn-primary'
2013-11-18 11:40:49 +00:00
.col-md-6.returning-user
h1 Returning user?
2013-11-18 11:40:49 +00:00
p
' There is no account associated with the email
strong = @user.email
' .
2013-11-18 11:40:49 +00:00
p
' However, if you have been previously signing in to Asciinema via
' Github or Twitter then click a proper button below so we can locate
' your existing account:
2013-11-18 11:40:49 +00:00
ul.login
li = link_to "Sign in via Github", github_auth_path, :class => 'btn-auth btn-github'
li = link_to "Sign in via Twitter", twitter_auth_path, :class => 'btn-auth btn-twitter'
2013-11-18 11:40:49 +00:00
p Note: this is one-time task. You won't be asked to do it again.