mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
= stylesheet_link_tag "bootstrap_and_overrides", :media => "all"
|
|
= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :class => "form-horizontal"}) do |f|
|
|
= devise_error_messages!
|
|
.controls
|
|
%h2 Sign up
|
|
.control-group
|
|
= f.label :username, :class => "control-label"
|
|
.controls
|
|
= f.text_field :username
|
|
.control-group
|
|
= f.label :first_name, :class => "control-label"
|
|
.controls
|
|
= f.text_field :first_name
|
|
.control-group
|
|
= f.label :last_name, :class => "control-label"
|
|
.controls
|
|
= f.text_field :last_name
|
|
.control-group
|
|
= f.label :email, :class => "control-label"
|
|
.controls
|
|
= f.email_field :email
|
|
- profile_builder = resource.user_profiles.empty? ? resource.user_profiles.build : resource.user_profiles
|
|
= f.fields_for :user_profiles, profile_builder do |builder|
|
|
= render 'user_profile_fields', f: builder
|
|
.control-group
|
|
= f.label :password, :class => "control-label"
|
|
.controls
|
|
= f.password_field :password
|
|
.control-group
|
|
= f.label :password_confirmation, :class => "control-label"
|
|
.controls
|
|
= f.password_field :password_confirmation
|
|
.control-group
|
|
.controls
|
|
= f.submit "Sign up"
|
|
= render "links"
|
|
|