Skip to content

Instantly share code, notes, and snippets.

@alexkojin
Created August 16, 2013 20:28
Show Gist options
  • Save alexkojin/6253268 to your computer and use it in GitHub Desktop.
Save alexkojin/6253268 to your computer and use it in GitHub Desktop.
layout_inner
- content_for :content do
%h2{style: 'text-align: left'}
Setup Wizard for #{@user.company_name}
= link_to 'Go Back To Customer Details Page', admin_user_path(@user), class: 'back-link'
.panel_layout{style: 'padding-bottom: 30px'}
#customer-setup
.wizard-steps.clearfix
- wizard_steps.each_with_index do |wizard_step, i|
= link_to wizard_path(wizard_step), class: "wizard-step #{active_class(wizard_step == step)}" do
%span= i + 1
= customer_setup_wizard_step_name wizard_step
.wizard-content
= yield
= render :template => 'layouts/admin'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment