Sha256: ffdc5fba9d6dcf1a10a275b479427b22347b88dda5ea8d2e19eb4846ed8255d6

Contents?: true

Size: 265 Bytes

Versions: 212

Compression:

Stored size: 265 Bytes

Contents

<%
  classes = 'h-6 float-left mr-1'

  if @checked
    classes += ' text-green-600'
    icon = 'heroicons/outline/check-circle'
  else
    classes += ' text-red-500'
    icon = 'heroicons/outline/x-circle'
  end
%>
<%= helpers.svg "#{icon}.svg", class: classes %>

Version data entries

212 entries across 212 versions & 1 rubygems

Version Path
avo-2.53.0 app/components/avo/fields/common/boolean_check_component.html.erb
avo-2.52.0 app/components/avo/fields/common/boolean_check_component.html.erb
avo-2.49.0 app/components/avo/fields/common/boolean_check_component.html.erb
avo-2.48.0 app/components/avo/fields/common/boolean_check_component.html.erb
avo-2.47.0 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.1.beta8 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.1.beta6 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.1.beta7 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.1.beta5 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.1.beta2 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.1.beta4 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.1.beta3 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.0.beta1 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.1.beta1 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.0.pre17 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.0.pre18 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.0.pre14 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.0.pre16 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.0.pre15 app/components/avo/fields/common/boolean_check_component.html.erb
avo-3.0.0.pre13 app/components/avo/fields/common/boolean_check_component.html.erb