2024-06-03 20:45:23 +00:00
|
|
|
- item_id = random_id
|
2024-05-17 18:24:08 +00:00
|
|
|
|
|
|
|
.mb-2{ id: item_id, data: { target: 'array.item', 'searchable-value': @value.remove_diacritics.downcase, value: @value } }
|
|
|
|
.d-flex.flex-row.flex-wrap
|
|
|
|
.flex-grow-1
|
2024-06-03 20:45:23 +00:00
|
|
|
= render 'bootstrap/custom_checkbox', name: @name, id: random_id, value: @value, checked: true, content: @value
|
2024-05-17 18:24:08 +00:00
|
|
|
%div
|
2024-05-17 18:30:25 +00:00
|
|
|
%button.btn.btn-sm.m-0{ data: { action: 'array#remove', 'remove-target-param': item_id } }= t('.remove')
|