Sha256: 902b5ecf54bd29af7ff96f4f5298c3665f1bdd38ff41af9705adb843257abc7b

Contents?: true

Size: 651 Bytes

Versions: 7

Compression:

Stored size: 651 Bytes

Contents

- if user_signed_in?

  = I18n.t "iugu.signed_id"
  = current_user.email
  = link_to I18n.t("iugu.settings"), settings_path
  = ' | '
  = link_to I18n.t("iugu.sign_out"), logout_path, :method => :delete

- else

  = form_for @user, :url => login_path do |f|
    %div
      = f.label :email
      = f.email_field :email
    %div
      = f.label :password
      = f.password_field :password
    %div
      = f.check_box :remember_me
      = f.label :remember_me
    %div
      = f.submit I18n.t("iugu.sign_in")

  - SOCIAL_ACCOUNTS.keys.each do |provider|
    %div
      = link_to "Sign in with #{provider.capitalize}", "/login/using/#{provider}"

    

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.7 app/views/iugu-old/login.html.haml
iugusdk-1.0.0.alpha.5 app/views/iugu-old/login.html.haml
iugusdk-1.0.0.alpha.4 app/views/iugu-old/login.html.haml
iugusdk-1.0.0.alpha.3 app/views/iugu-old/login.html.haml
iugusdk-1.0.0.alpha.2 app/views/iugu-old/login.html.haml
iugusdk-1.0.0.alpha.1 app/views/iugu-old/login.html.haml
iugusdk-1.0.0.alpha.0 app/views/iugu-old/login.html.haml