cleaned up format, included display of flash[:error]

This commit is contained in:
Andrew Davidson 2009-10-30 00:34:17 -07:00
parent c159583d31
commit 708203ca6a

View file

@ -5,17 +5,21 @@
</head> </head>
<body> <body>
<div id="wrapper"> <div id="wrapper">
<% if flash[:error] then %>
<div class="flash">
<p><%= flash[:error] %></p>
</div>
<% end %>
<%= yield %> <%= yield %>
<div id="header"> <div id="header">
<h1>photogriffy.net</h1> <h1>photogriffy.net</h1>
<p> <p>
<%= link_to "about", {:controller => "info", :action => "about"}, :alt => "about" %> <%= link_to "about", {:controller => "info", :action => "about"}, :alt => "about" %> |
<span class="light">|</span> <%= link_to "reload", request.request_uri, :alt => "reload"%>
<%= link_to "reload", request.request_uri, :alt => "reload"%> </p>
</p> </div>
</div> <div class="meta"></div>
<div class="meta"></div> <div id="footer">copyright 2009 andrew davidson, all rights reserved</div>
<div id="footer">copyright 2009 andrew davidson, all rights reserved</div>
</div> </div>
</body> </body>
</html> </html>