Skip to content

Instantly share code, notes, and snippets.

@charly
Created August 4, 2009 08:47
Show Gist options
  • Save charly/161111 to your computer and use it in GitHub Desktop.
Save charly/161111 to your computer and use it in GitHub Desktop.
#contenth
%ol#steps_menu
- tabs_for :step => active_step do |t|
= t.link_to "1. start", :step=> "1start"
= t.link_to "2. price", :step=> "2price"
= t.link_to "3. bill", :step=> "3bill"
= t.link_to "4. payment", :step=> "4payment"
= t.link_to "5. end", :step=> "5end"
=render :partial => "/admin/orders/steps/step_#{active_step}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment