Sha256: 16a396cb95a10d038b730b7e6ec1550a8df2e044401574db0d83d026fd4e10f8

Contents?: true

Size: 908 Bytes

Versions: 4

Compression:

Stored size: 908 Bytes

Contents

%h2
  = I18n.t("iugu.edit")
  #{resource_name.to_s.humanize}
= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
  = f.error_notification
  .inputs
    = f.input :email, :required => true, :autofocus => true
    = f.input :password, :autocomplete => "off", :hint => I18n.t("iugu.leave_it_blank_if_dont_wanna_change_it"), :required => false
    = f.input :password_confirmation, :required => false
    = f.input :current_password, :hint => I18n.t("iugu.we_need_your_current_password_to_confirm_changes"), :required => true
  .actions
    = f.button :submit, I18n.t("iugu.update")
%h3
  = I18n.t("iugu.cancel_my_account")
%p
  = I18n.t("iugu.unhappy?")
  #{link_to I18n.t("iugu.cancel_my_account"), registration_path(resource_name), :confirm => I18n.t("iugu.are_you_sure?"), :method => :delete}.
= link_to I18n.t("iugu.back"), :back

Version data entries

4 entries across 4 versions & 1 rubygems

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