مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
40 أسطر
1.9 KiB
Plaintext
40 أسطر
1.9 KiB
Plaintext
- @wide = true
|
|
- page_title << "Signup"
|
|
.subPageBox__title
|
|
Create your own Postal account
|
|
= display_flash
|
|
|
|
.subPageBox__content
|
|
%p.subPageBox__text
|
|
To create an account, just enter your details below and you'll be on your way.
|
|
Be sure to enter a valid e-mail address because we'll send you a verification
|
|
e-mail as part of the signup process.
|
|
.signupForm
|
|
= form_for @user, :url => signup_path do |f|
|
|
= hidden_field_tag 'return_to', params[:return_to]
|
|
= f.error_messages
|
|
.fieldSet.fieldSet--compact.u-margin
|
|
.fieldSet__fieldPair
|
|
.fieldSet__field
|
|
= f.label :first_name, :class => 'fieldSet__label'
|
|
.fieldSet__input= f.text_field :first_name, :class => 'input input--text input--onWhite', :autofocus => true
|
|
.fieldSet__field
|
|
= f.label :last_name, :class => 'fieldSet__label'
|
|
.fieldSet__input= f.text_field :last_name, :class => 'input input--text input--onWhite'
|
|
.fieldSet__field
|
|
= f.label :email_address, :class => 'fieldSet__label'
|
|
.fieldSet__input= f.text_field :email_address, :class => 'input input--text input--onWhite'
|
|
.fieldSet__fieldPair
|
|
.fieldSet__field
|
|
= f.label :password, :class => 'fieldSet__label'
|
|
.fieldSet__input= f.password_field :password, :class => 'input input--text input--onWhite', :placeholder => '•••••••••••'
|
|
.fieldSet__field
|
|
= f.label :password_confirmation, " ".html_safe, :class => 'fieldSet__label'
|
|
.fieldSet__input= f.password_field :password_confirmation, :class => 'input input--text input--onWhite', :placeholder => '•••••••••••'
|
|
|
|
.loginForm__submit
|
|
%ul.loginForm__links
|
|
%li= link_to "Back to login", login_path(:return_to => params[:return_to])
|
|
%p= submit_tag "Create Account", :class => 'button button--positive', :tabindex => 3
|
|
|