app/views/iugu/sessions/new.html.haml in iugusdk-1.0.0.alpha.2 vs app/views/iugu/sessions/new.html.haml in iugusdk-1.0.0.alpha.3

- old
+ new

@@ -1,10 +1,11 @@ -%h2 Sign in -- unless IuguSDK::enable_social_only +%h2 + = I18n.t("iugu.sign_in") +- if IuguSDK::enable_signup_form = simple_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| .inputs = f.input :email, :required => false, :autofocus => true - = f.input :password, :required => false - = f.input :remember_me, :as => :boolean if devise_mapping.rememberable? + = f.input :password, :required => false, :label => I18n.t("activerecord.attributes.password") + = f.input :remember_me, :as => :boolean, :label => I18n.t("activerecord.attributes.remember_me") if devise_mapping.rememberable? .actions - = f.button :submit, "Sign in" + = f.button :submit, I18n.t("iugu.sign_in") = render :partial => "iugu/shared/links"