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.
22 lines
1016 B
22 lines
1016 B
<%= render partial: "form/guidance/#{question.guidance_partial}" if question.guidance_partial %> |
|
|
|
<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 %></span> |
|
</div> |
|
</div>
|
|
|