views/mdc/components/_switch.erb in coprl-3.0.0.beta.4 vs views/mdc/components/_switch.erb in coprl-3.0.0.beta.5

- old
+ new

@@ -1,10 +1,10 @@ <% class_name = '' unless bound_locals_include?(:class_name, binding) %> <div class="v-form-field mdc-form-field"> <div id="<%= comp.id %>" - <% if comp.tag %>data-input-tag="<%= comp.tag %>"<% end %> + <% if comp.input_tag %>data-input-tag="<%= comp.input_tag %>"<% end %> <% if comp.dirtyable %>data-dirtyable<% end %> class="v-switch v-input mdc-switch <%= 'mdc-switch--disabled' if comp.disabled %> <%= class_name %>"> <div class="mdc-switch__track"></div>