Sha256: a3e9d74953aff914082cc45d39aa580c73bbf9d39bfbd066d4c56eaf2af7c2e7
Contents?: true
Size: 1.59 KB
Versions: 4
Compression:
Stored size: 1.59 KB
Contents
<% horizontal = eq(comp.orientation, :horizontal) %> <div class="v-errors"> <ul id="<%= comp.id %>" <% if comp.tag %> data-input-tag="<%= comp.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.tag %> data-input-tag="<%= step.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
4 entries across 4 versions & 1 rubygems