cleaned up format, included display of flash[:error]
This commit is contained in:
parent
c159583d31
commit
708203ca6a
1 changed files with 14 additions and 10 deletions
|
@ -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>
|
Loading…
Reference in a new issue