Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - if message = (flash.delete(:notice) || session.delete(:notice))
- - stack_lightbox :notice do
- %p= message
- - elsif params[:_lbs] and !current_user
- - stack_lightbox :force_signup, :modal => true do
- %p= render :template => 'accounts/signup', :locals => {:signup_user => User.new}
- - elsif visit and current_user and visit.qualify_for_info_reminder? and request.path != '/info'
- - stack_lightbox :user_info do
- %p= render :partial => 'users/basic_info_lightbox'
- - # render primary lightbox
- - if lb = primary_stacked_lightbox
- %script.stacked-lightbox{:type => 'text/html', :'data-delay' => lb.js_delay, :'data-modal' => lb.modal? && 'true' }
- - lb.block.call
Add Comment
Please, Sign In to add comment