summaryrefslogtreecommitdiff
path: root/views/layout.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-02-16 18:59:13 +0100
committerChristoph Helma <helma@in-silico.de>2010-02-16 18:59:13 +0100
commit13abba6497199238464fa5d7f94931c65de37ba9 (patch)
tree83748c66825f6a26c111fd6d658fbe38349b9155 /views/layout.haml
parent1d8326830fb38e24df2d8f11d8df2f5ad6b5aea8 (diff)
improved error handling of input structures
Diffstat (limited to 'views/layout.haml')
-rw-r--r--views/layout.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/layout.haml b/views/layout.haml
index 2e0e575..4bec328 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -7,7 +7,7 @@
%link{:rel=>'stylesheet', :href=>'stylesheets/style.css', :type => "text/css"}
%body
- %h1 ToxModel
+ %h1 ToxCreate
.index
%ul
@@ -30,6 +30,10 @@
.notice
= flash[:notice]
+ - if @notice
+ .notice
+ = @notice
+
= yield
.footer