asciinema.org/app/views/users/new.html.slim
2013-10-22 17:08:12 +02:00

39 lines
1.1 KiB
Plaintext

section.supplimental
.wrapper
.new-user
h2 New user?
p
' Every Asciinema user gets a profile page at
br
a href="#"
| http://asciinema.org/~
strong username
' . Pick a desired username below.
= simple_form_for @user, :url => user_path do |f|
p = f.input :nickname, label: 'Pick a username:', required: true, input_html: { 'data-behavior' => 'focus' }
p.actions = f.button :submit, 'Start recording'
.returning-user
h2 Returning user?
p
' There is no account associated with the email
strong = @user.email
' .
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:
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'
p Note: this is one-time task. You won't be asked to do it again.
.vertical-expander