lib/muck_engine/flash_errors.rb in muck-engine-0.4.2 vs lib/muck_engine/flash_errors.rb in muck-engine-0.4.3
- old
+ new
@@ -28,7 +28,16 @@
#nothing
''
end
end
+ # Output a page update that will display messages in the flash
+ def output_admin_messages(fields = nil, title = '', options = { :class => 'notify-box' }, flash_only = false)
+ @fields = fields
+ @title = title
+ @options = options
+ @flash_only = flash_only
+ render :partial => 'admin/shared/output_admin_messages'
+ end
+
end
end
\ No newline at end of file