Sha256: 9102bd4eeb1e75f0e39585afe20935ee64e67ec0c60b2f7319095857f15c97cc
Contents?: true
Size: 1.61 KB
Versions: 8
Compression:
Stored size: 1.61 KB
Contents
<% horizontal = eq(comp.orientation, :horizontal) %> <div class="v-errors"> <ul id="<%= comp.id %>" <% 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 %> <%= partial "components/stepper/#{step.type}", :locals => {:comp => step, vertical: !horizontal} %> <% end %> </ul> <% if horizontal %> <div id="<%= comp.id %>-content"> <% for step in comp.steps %> <div id="<%= step.id %>-content" <% 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 %>"> <%= partial "components/render", :locals => {:components => step.components, :scope => nil} if step.components.any? %> <% if step.actions&.buttons %> <div class="v-step__actions v-step__actions-<%= step.id %>"> <% step.actions.buttons.each do |button| %> <%= partial "components/button", :locals => {:comp => button, data_attributes: "data-stepper-#{button.stepper_type}", event_parent_id: "#{step.id}-content"} if button %> <% end %> </div> <% end %> </div> <% end %> </div> <% end %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems