Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<%= turbo_frame_tag "case_log_form", target: "_top" do %>
|
|
|
|
<%= govuk_back_link GovukComponent::BackLinkComponent.new href: 'tenant_code' do %>
|
|
|
|
back
|
|
|
|
<% end %>
|
|
|
|
<%= form_with action: '/case_logs', method: "next_question", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %>
|
|
|
|
<%= f.govuk_number_field :tenant_age,
|
|
|
|
hint: { text: "More detail" },
|
|
|
|
label: { text: "What is the tenant's age?", size: "l"},
|
|
|
|
min: 0, max: 150, step: 1, width: 20
|
|
|
|
%>
|
|
|
|
<%= f.hidden_field :previous_question, value: :tenant_age %>
|
|
|
|
<%= f.hidden_field :case_log_id, value: case_log_id %>
|
|
|
|
<%= f.govuk_submit "Save and continue" %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|