scinote-web/app/components/reports/checkbox_input_component.html.erb

8 lines
277 B
Text
Raw Normal View History

<div class="checkbox-value-container">
<div class="sci-checkbox-container">
<%= check_box_tag @name, true, (@value == 'true'), class: 'sci-checkbox', data: { type: 'CheckboxInputComponent' } %>
<span class="sci-checkbox-label"></span>
</div>
<%= @label %>
</div>