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.
13 lines
567 B
13 lines
567 B
3 years ago
|
<%= turbo_frame_tag "case_log_form" do %>
|
||
3 years ago
|
<%= form_with action: '/case_logs', method: "next_question", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %>
|
||
3 years ago
|
<%= 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
|
||
|
%>
|
||
3 years ago
|
<%= f.hidden_field :previous_question, value: :tenant_age %>
|
||
3 years ago
|
<%= f.hidden_field :case_log_id, value: case_log_id %>
|
||
3 years ago
|
<%= f.govuk_submit "Save and continue" %>
|
||
3 years ago
|
<% end %>
|
||
|
<% end %>
|