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.
 
 
 
 

24 lines
1.1 KiB

<%= render partial: "form/guidance/#{question.guidance_partial}" if question.top_guidance? %>
<div class="govuk-form-group">
<label class="govuk-label govuk-label--<%= label_size(page_header, conditional) %>" for="case-log-<%= question.id %>-field">
<%= question.header.html_safe %>
</label>
<div class="govuk-hint">
<%= question.hint_text %>
</div>
<div class="govuk-input__wrapper">
<span class="govuk-input__prefix"><%= question.prefix %></span>
<output id="case-log-<%= question.id %>-field"
class="govuk-input govuk-input--width-<%= question.width %> app-input--output"
min="<%= question.min %>"
step="<%= question.step %>"
type="number"
name="case_log[tcharge]"
for="<%= question.fields_added.present? ? question.fields_added.map { |x| "case-log-#{x}-field" }.join(" ") : "" %>">
<%= case_log[question.id] %></output>
<span class="govuk-input__suffix"><%= question.suffix_label(case_log) %></span>
</div>
</div>
<%= render partial: "form/guidance/#{question.guidance_partial}" if question.bottom_guidance? %>