diff --git a/app/views/services/govbox/_hidden_fields_from_step1.html.erb b/app/views/services/govbox/_hidden_fields_from_step1.html.erb index b428f20..31ba1a3 100644 --- a/app/views/services/govbox/_hidden_fields_from_step1.html.erb +++ b/app/views/services/govbox/_hidden_fields_from_step1.html.erb @@ -1,3 +1,4 @@ <%= hidden_field_tag :mode, params[:mode], value: params[:mode] || 'sync_mode' %> +<%= hidden_field_tag :referral_code, params[:referral_code] %> <%= hidden_field_tag :legal_subject_name, params[:legal_subject_name] %> <%= hidden_field_tag :cin, params[:cin] %> diff --git a/app/views/services/govbox/_hidden_fields_from_step4.html.erb b/app/views/services/govbox/_hidden_fields_from_step4.html.erb index 3bba9ae..25f7d58 100644 --- a/app/views/services/govbox/_hidden_fields_from_step4.html.erb +++ b/app/views/services/govbox/_hidden_fields_from_step4.html.erb @@ -1,4 +1,3 @@ <%= render 'hidden_fields_from_step3' %> <%= hidden_field_tag :password, params[:password] %> -<%= hidden_field_tag :password_confirmation, params[:password_confirmation] %> -<%= hidden_field_tag :referral_code, params[:referral_code] %> +<%= hidden_field_tag :password_confirmation, params[:password_confirmation] %> \ No newline at end of file diff --git a/app/views/services/govbox/register_step1.html.erb b/app/views/services/govbox/register_step1.html.erb index 17799cb..7bace48 100644 --- a/app/views/services/govbox/register_step1.html.erb +++ b/app/views/services/govbox/register_step1.html.erb @@ -49,6 +49,7 @@