Sha256: 257b8d3c82f2520fcfb16da7cbfce5113910ea1ddb5e2074b616b0fd1f0a4a45

Contents?: true

Size: 630 Bytes

Versions: 12

Compression:

Stored size: 630 Bytes

Contents

<label id="<%=comp.id%>"
       class="mdl-switch mdl-js-switch mdl-js-ripple-effect v-switch"
       for="<%=comp.id%>-input" >
  <input id="<%= comp.id %>-input"
         name="<%= comp.name %>"
         type="checkbox"
         class="mdl-switch__input"
         <%if comp.checked%> checked<%end%><%if comp.disabled%> disabled<%end%>
         <%= erb :"components/event", :locals => {events: comp.events, parent_id: comp.event_parent_id}%>/>
  <span id=<%=comp.id%>-label
            class="mdl-switch__label"><%=comp.text%></span>
</label>
<%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 views/mdc/components/switch.erb
voom-presenters-0.1.12 views/mdc/components/switch.erb
voom-presenters-0.1.11 views/mdc/components/switch.erb
voom-presenters-0.1.10 views/mdc/components/switch.erb
voom-presenters-0.1.9 views/mdc/components/switch.erb
voom-presenters-0.1.8 views/mdc/components/switch.erb
voom-presenters-0.1.7 views/mdc/components/switch.erb
voom-presenters-0.1.6 views/mdc/components/switch.erb
voom-presenters-0.1.5 views/mdc/components/switch.erb
voom-presenters-0.1.4 views/mdc/components/switch.erb
voom-presenters-0.1.3 views/mdc/components/switch.erb
voom-presenters-0.1.2 views/mdc/components/switch.erb