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.
14 lines
330 B
14 lines
330 B
<div class="d-flex align-items-center mx-5">
|
|
<input
|
|
id="<%= id %>"
|
|
class="m-3 form-check-input"
|
|
type="checkbox"
|
|
name="<%= "#{name}#{index}" %>-checkbox"
|
|
value="<%= item %>"
|
|
<%= selected_items.include?(item) ? "checked" : "" %>
|
|
>
|
|
<label for="<%= id %>" >
|
|
<%= label_text %>
|
|
</label>
|
|
</div>
|