Sha256: fdef5b9cc52a192e7b3e2ec5a6cad22db0d13e45bf6ac1a6fb141b20c663b1bf

Contents?: true

Size: 889 Bytes

Versions: 3

Compression:

Stored size: 889 Bytes

Contents

%h2 
  = I18n.t("iugu.sign_up")
= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
  = f.error_notification
  .inputs
    = f.input :email, :required => true, :autofocus => true
    = f.input :password, :required => true, :label => I18n.t("activerecord.attributes.password")
    = f.input :password_confirmation, :required => true, :label => I18n.t("activerecord.attributes.password_confirmation")
    - if IuguSDK::enable_alias_on_signup
      = f.input :account_alias, :label => 'Alias'
    = render :partial => "iugu/shared/signup_fields", :locals => {:f => f}
    = f.hidden_field :locale, :value => @matched_locale_from_browser
  .actions
    = f.button :submit, I18n.t("iugu.sign_up")

- if IuguSDK::enable_guest_user
  = link_to I18n.t("iugu.try_first"), try_first_path, :method => :post

%br
= render :partial => "iugu/shared/links"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.5 app/views/iugu/registrations/new.html.haml
iugusdk-1.0.0.alpha.4 app/views/iugu/registrations/new.html.haml
iugusdk-1.0.0.alpha.3 app/views/iugu/registrations/new.html.haml