Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3b93a0
commit 5483ea5
Showing
13 changed files
with
95 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
choooooz | ||
= current_user | ||
|
||
= link_to 'skip', next_wizard_path, class: "btn btn-primary" | ||
|
||
= simple_form_for(resource, :url => confirm_user_path, class: "form-horizontal") do |f| | ||
= devise_error_messages! | ||
%fieldset | ||
%legend | ||
Choose a password: | ||
= f.input :email | ||
= f.input :name | ||
= f.input :subdomain | ||
= f.input :password | ||
= f.input :password_confirmation | ||
.form-actions | ||
= f.button :submit, "Confirm that you own ", class: "btn btn-primary" | ||
= link_to 'Home', root_url | ||
%br/ | ||
= render :partial => 'devise/shared/links' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.row-fluid | ||
.span3.well | ||
= render 'shared/mission_statement' | ||
.span8 | ||
.row-fluid | ||
.span3.label | ||
Step 1: Sign up | ||
.span3.label | ||
Step 2: Choose Password | ||
.span3.label.label-warning | ||
Step 3: Choose Subdomain | ||
%br/ | ||
%legend Step 3: Choose your subdomain | ||
= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, class: "form-horizontal" } ) do |f| | ||
= f.input :subdomain, wrapper: :append do | ||
= f.input_field :subdomain, placeholder: @user.subdomain | ||
= content_tag :span, ".merciboq.com", class: "add-on" | ||
.form-actions | ||
= f.button :submit, "Choose my subdomain", class: "btn btn-primary" | ||
%br/ | ||
= render :partial => 'devise/shared/links' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
= simple_form_for(resource, :url => confirm_user_path, class: "form-horizontal") do |f| | ||
= devise_error_messages! | ||
%fieldset | ||
%legend | ||
Choose a password2: | ||
= f.input :confirmation_token, as: :hidden | ||
= f.input :email | ||
= f.input :name | ||
= f.input :subdomain | ||
= f.input :password | ||
= f.input :password_confirmation | ||
.form-actions | ||
= f.submit raw "Confirm that you own #{@user.email}" | ||
= link_to 'Home', root_url | ||
.row-fluid | ||
.span3.well | ||
= render 'shared/mission_statement' | ||
.span8.form-horizontal | ||
.row-fluid | ||
.span3.label | ||
Step 1: Sign up | ||
.span3.label.label-warning | ||
Step 2: Choose Password | ||
.span3.label | ||
Step 3: Choose Subdomain | ||
%br/ | ||
%legend Step 2: Choose your password | ||
= simple_form_for(resource, :url => confirm_user_path) do |f| | ||
- if f.error_notification | ||
.alert.alert-error.fade.in | ||
%a.close{"data-dismiss" => "alert", :href => "#"} | ||
= f.error_notification | ||
= f.input :confirmation_token, as: :hidden | ||
= f.input :password | ||
= f.input :password_confirmation | ||
.form-actions | ||
= f.button :submit, "Choose my password", class: "btn btn-primary" | ||
%br/ | ||
= render :partial => 'devise/shared/links' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters