Created
May 24, 2011 12:44
-
-
Save BitPuffin/988643 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>FilePile</title> | |
<%= javascript_include_tag 'http://code.jquery.com/jquery-latest.pack.js' # includes jquery from their website %> | |
<%= javascript_include_tag "application"%> | |
<%= stylesheet_link_tag "application"%> | |
<%= csrf_meta_tag %> | |
</head> | |
<body id="main_body"> | |
<div id="wrapper"> | |
<div id="logo"> | |
<%= image_tag "logo.png", :height => "200px", :width => "547px" %> | |
</div> | |
</div> | |
<%= yield %> | |
</body> | |
</html> | |
..gives error: | |
SyntaxError in My_files#new | |
Showing /home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb where line #14 raised: | |
compile error | |
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:14: unknown regexp options - dv | |
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:14: unmatched ): /head> | |
<body id="main_body"> | |
<div id="wrapper"> | |
<div id="logo"> | |
');@output_buffer.append= ( image_tag "logo.png", :height => "200px", :width => "547px" );@output_buffer.safe_concat(' | |
');@output_buffer.safe_concat(' </ | |
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:15: syntax error, unexpected '<' | |
</div> | |
^ | |
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:17: unknown regexp options - bdy | |
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:17: unmatched ): /div> | |
');@output_buffer.append= ( yield );@output_buffer.safe_concat(' | |
');@output_buffer.safe_concat(' </ | |
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:18: syntax error, unexpected '<' | |
</html> | |
^ | |
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:18: unterminated string meets end of file | |
Extracted source (around line #14): | |
11: <div id="wrapper"> | |
12: <div id="logo"> | |
13: <%= image_tag "logo.png", :height => "200px", :width => "547px" %> | |
14: </div> | |
15: </div> | |
16: <%= yield %> | |
17: </body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment