app/views/iugu/registrations/new.html.haml in iugusdk-1.0.0.alpha.5 vs app/views/iugu/registrations/new.html.haml in iugusdk-1.0.0.alpha.7
- old
+ new
@@ -8,9 +8,12 @@
= 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
+ - if IuguSDK::enable_subscription_features
+ = f.hidden_field :plan_id, value: @plan_id
+ = f.hidden_field :price_id, value: @price_id
.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