|
|
@ -24,6 +24,11 @@ |
|
|
|
OpenStruct.new(id: 22, name: "Lifetime PRP General Needs tenancy"), |
|
|
|
OpenStruct.new(id: 22, name: "Lifetime PRP General Needs tenancy"), |
|
|
|
] %> |
|
|
|
] %> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% previous_question = Form.previous_question("previous_housing_situation") %> |
|
|
|
|
|
|
|
<%= govuk_back_link href: "/case_logs/#{case_log_id}/#{previous_question}" do %> |
|
|
|
|
|
|
|
Back |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
<%= turbo_frame_tag "case_log_form", target: "_top" do %> |
|
|
|
<%= turbo_frame_tag "case_log_form", target: "_top" do %> |
|
|
|
<%= form_with action: '/case_logs', method: "next_question", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
|
|
|
<%= form_with action: '/case_logs', method: "next_question", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
|
|
|
<%= f.govuk_collection_radio_buttons :previous_housing_situation, situations, :id, :name, legend: { text: "What was the tenant’s housing situation immediately before this letting?", size: "l" } %> |
|
|
|
<%= f.govuk_collection_radio_buttons :previous_housing_situation, situations, :id, :name, legend: { text: "What was the tenant’s housing situation immediately before this letting?", size: "l" } %> |
|
|
|