views/mdc/components/_stepper.erb in coprl-3.0.0.beta.4 vs views/mdc/components/_stepper.erb in coprl-3.0.0.beta.5
- old
+ new
@@ -1,12 +1,12 @@
<%
horizontal = eq(comp.orientation, :horizontal)
%>
<div class="v-errors">
<ul id="<%= comp.id %>"
- <% if comp.tag %>
- data-input-tag="<%= comp.tag %>"
+ <% if comp.input_tag %>
+ data-input-tag="<%= comp.input_tag %>"
<% end %>
class="mdl-stepper v-stepper
<%= ' mdl-stepper--horizontal' if horizontal %>
<%= ' mdl-stepper--linear' if comp.linear %>">
<% for step in comp.steps %>
@@ -16,11 +16,11 @@
<% if horizontal %>
<div id="<%= comp.id %>-content">
<% for step in comp.steps %>
<div id="<%= step.id %>-content"
- <% if step.tag %>
- data-input-tag="<%= step.tag %>"
+ <% if step.input_tag %>
+ data-input-tag="<%= step.input_tag %>"
<% end %>
class="v-content v-step__content v-step__content-<%= step.id %>
<%= ' is-active' if step.selected %>
<%= ' v-step--horizontal' if horizontal %>">