Sha256: c6d3152c208e40724b6c80338a379fa71d2207000147d59d4c202187aad198c4

Contents?: true

Size: 555 Bytes

Versions: 11

Compression:

Stored size: 555 Bytes

Contents

<% wizard_steps.each do |s| %>
  <%= s.inspect %>
  <%= I18n.t("wicked.#{s}") %>
  <p>
    <strong><u><%= s.inspect %></u></strong><br />
    <%= current_step?(s)  ? "#{s} step is the current step"   : "nope" %><br />
    <%= past_step?(s)     ? "#{s} step is a past step"        : "nope" %><br />
    <%= future_step?(s)   ? "#{s} step is a future step"      : "nope" %><br />
    <%= previous_step?(s) ? "#{s} step was the previous step" : "nope" %><br />
    <%= next_step?(s)     ? "#{s} step is the next step"      : "nope" %><br />
  </p>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wicked-2.0.0 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.4.0 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.3.4 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.3.3 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.3.2 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.3.1 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.3.0 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.2.1 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.1.1 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.1.0 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.0.3 test/dummy/app/views/step_positions/_step_position.html.erb