diff --git a/views/_flash.erb b/views/_flash.erb new file mode 100644 index 00000000..180b997a --- /dev/null +++ b/views/_flash.erb @@ -0,0 +1,15 @@ +<% if @error %> +
+

<%== @error %>

+
+<% end %> + +<% if flash.keys.length > 0 %> +
+

+ <% flash.keys.each do |key| %> + <%== flash[key] %> + <% end %> +

+
+<% end %>