Sha256: 04bfab1cb5c2071b7863547f2491c1c97ab12f586a4756c5ece97599c503b7a4

Contents?: true

Size: 1010 Bytes

Versions: 6

Compression:

Stored size: 1010 Bytes

Contents

<%  class_name = '' unless local_variables.include? :class_name %>

<div class="mdc-checkbox">
  <input type="checkbox"
         id="<%=comp.id%>"
         name="<%=comp.name%>"
         value="<%=comp.value%>"
         class="mdc-checkbox__native-control
               <%= class_name %>"
         <% if comp.checked %> checked <% end %><% if comp.disabled %> disabled <% end %>
         <%= erb :"components/event", :locals => {events: comp.events, parent_id: comp.event_parent_id} %>
    />
  <div class="mdc-checkbox__background">
    <svg class="mdc-checkbox__checkmark"
         viewBox="0 0 24 24">
      <path class="mdc-checkbox__checkmark-path"
            fill="none"
            stroke="white"
            d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
    </svg>
    <div class="mdc-checkbox__mixedmark"></div>
  </div>
</div>
<label class="v-checkbox__label" id="<%=comp.id%>" for="<%=comp.id%>"><%=comp.text%></label>
<%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id }%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 views/mdc/components/checkbox.erb
voom-presenters-0.1.12 views/mdc/components/checkbox.erb
voom-presenters-0.1.11 views/mdc/components/checkbox.erb
voom-presenters-0.1.10 views/mdc/components/checkbox.erb
voom-presenters-0.1.9 views/mdc/components/checkbox.erb
voom-presenters-0.1.8 views/mdc/components/checkbox.erb