From a604a76e02064f61af13c0a8cc4d5911e72a2490 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 5 Nov 2012 07:48:30 -0500 Subject: [PATCH] start work on revert --- config/locales/sisyphus.en.yml | 0 lib/sisyphus-rails/form_helper.rb | 23 ++++++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 config/locales/sisyphus.en.yml diff --git a/config/locales/sisyphus.en.yml b/config/locales/sisyphus.en.yml new file mode 100644 index 0000000..e69de29 diff --git a/lib/sisyphus-rails/form_helper.rb b/lib/sisyphus-rails/form_helper.rb index f30f5f1..0842802 100644 --- a/lib/sisyphus-rails/form_helper.rb +++ b/lib/sisyphus-rails/form_helper.rb @@ -28,6 +28,27 @@ module ActionView end alias_method_chain :form_for, :sisyphus + + def sisyphus_status + buf = ActiveSupport::SafeBuffer.new + + buf.safe_concat <<-JS + + + JS + + buf + end end end -end \ No newline at end of file +end