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,12 +5,16 @@
</head>
<body>
<div id="wrapper">
<% if flash[:error] then %>
<div class="flash">
<p><%= flash[:error] %></p>
</div>
<% end %>
<%= yield %>
<div id="header">
<h1>photogriffy.net</h1>
<p>
<%= link_to "about", {:controller => "info", :action => "about"}, :alt => "about" %>
<span class="light">|</span>
<%= link_to "about", {:controller => "info", :action => "about"}, :alt => "about" %> |
<%= link_to "reload", request.request_uri, :alt => "reload"%>
</p>
</div>