Sha256: c7ee054439d8f331f4a4ad55bf5cf33f1ec9936e25d02bf06434393732930403

Contents?: true

Size: 668 Bytes

Versions: 5

Compression:

Stored size: 668 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 %>

<%= form_tag update_param_path(step, {one: 'two'}), :method => :put do  %>
  <%= submit_tag "Next" %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wicked-2.0.0 test/dummy/app/views/update_params/_step_position.html.erb
wicked-1.4.0 test/dummy/app/views/update_params/_step_position.html.erb
wicked-1.3.4 test/dummy/app/views/update_params/_step_position.html.erb
wicked-1.3.3 test/dummy/app/views/update_params/_step_position.html.erb
wicked-1.3.2 test/dummy/app/views/update_params/_step_position.html.erb