Created
January 19, 2011 10:35
-
-
Save kathgironpe/785984 to your computer and use it in GitHub Desktop.
Recaptcha errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%body | |
-unless flash[:recaptcha_error] | |
- flash.each do |name, msg| | |
%div{:id=>"alert", :class=>"alerts", :style=>"display:none;"} | |
=raw msg | |
#wrapper.inner-page | |
=render :partial => "shared/main_header" | |
#main | |
.main-area | |
=yield | |
=render :partial => "shared/main_footer" | |
= yield :footer | |
-if Rails.env == "production" | |
=javascript_include_tag 'all_packaged' | |
-else | |
=javascript_include_tag 'jquery.min','jquery-ui','rails', 'jquery-livequery', 'jquery.validate.min', 'jquery.validate.additional', 'cufon', 'inputs', 'application', 'main' | |
= yield :main_javascript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment