Permalink
Browse files

Layout updated for new .ep begin/end to fix issue #1

  • Loading branch information...
1 parent a97f689 commit 641ec2a3568dabc1383f4cbe04c4fb35d0310012 @diegok committed Feb 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/layouts/cam.html.ep
@@ -19,7 +19,7 @@
</div>
% if ( flash 'message' ) {
<%= tag 'div', class => 'app_msg' => sub { flash 'message' } %>
- <%= tag script => {%>
+ <%= tag script => begin %>
$(document).ready( function() {
disapear_in( $('div.app_msg'), 6000 );
});
@@ -28,7 +28,7 @@
element.fadeTo('slow', 0.01).slideUp();
}, ms);
}
- <%} %>
+ <% end %>
% }
<div id="content">
<%= content %>

0 comments on commit 641ec2a

Please sign in to comment.