34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
#block-signup.block
|
|
%h2= t("devise.registrations.sign_up_header")
|
|
.content
|
|
= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :class => "form" }) do |f|
|
|
- if resource.errors.present?
|
|
.flash
|
|
.message.error
|
|
- messages = resource.errors.full_messages.map { |msg| content_tag(:p, msg) }.join.html_safe
|
|
= messages
|
|
|
|
.group.wat-cf
|
|
.left
|
|
= f.label :email, :class => "label"
|
|
.right
|
|
= f.text_field :email, :class => "text_field"
|
|
|
|
.group.wat-cf
|
|
.left
|
|
= f.label :password, :class => "label"
|
|
.right
|
|
= f.password_field :password, :class => "text_field"
|
|
|
|
.group.wat-cf
|
|
.left
|
|
= f.label :password_confirmation, :class => "label"
|
|
.right
|
|
= f.password_field :password_confirmation, :class => "text_field"
|
|
|
|
.group.navform.wat-cf
|
|
%button.button{ :type => "submit" }
|
|
#{image_tag("web-app-theme/icons/tick.png", :alt => t("devise.registrations.signed_up"))} #{t("devise.registrations.signed_up")}
|
|
%span.text_button_padding
|
|
= render :partial => "devise/shared/links"
|