mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
keep fields reference in devise new registration
This commit is contained in:
parent
b8313aa064
commit
28143a8cce
1 changed files with 5 additions and 1 deletions
|
|
@ -7,7 +7,11 @@
|
|||
Sign Up
|
||||
.panel-body
|
||||
= semantic_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
|
||||
= render partial: 'devise/shared/sign_up_fields', locals: { u: f}
|
||||
= f.input :username, required: true
|
||||
= f.input :email
|
||||
= f.input :name, required: true
|
||||
= f.input :password
|
||||
= f.input :password_confirmation
|
||||
%p.text-right
|
||||
= f.action :submit, as: :button, label: 'Sign Up', button_html: {class: 'btn btn-success' }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue