From 1ebda22f0ed11b101ae2dec420ee1b929d3847ff Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Tue, 20 Aug 2013 17:55:06 +0800 Subject: [PATCH] Updated with loader Conflicts: vendor/built_in_modules/ask/app/views/panel/ask/back_end/ask_acknowledgements/index.html.erb vendor/built_in_modules/ask/app/views/panel/ask/front_end/ask_questions/index.html.erb --- Gemfile | 1 + app/assets/images/loading.gif | Bin 0 -> 10819 bytes app/assets/stylesheets/application.css | 1 + .../ask/front_end/ask_questions_controller.rb | 8 ++-- .../front_end/ask_questions/index.html.erb | 39 +++++++++++++++++- 5 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 app/assets/images/loading.gif diff --git a/Gemfile b/Gemfile index 0d4deeef0..05ffb7fd4 100644 --- a/Gemfile +++ b/Gemfile @@ -19,6 +19,7 @@ gem "acts_as_unvlogable" gem 'youtube_it' gem 'gotcha' + # gem "memcached", "~> 1.4.3" # gem "memcache-client" diff --git a/app/assets/images/loading.gif b/app/assets/images/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..d84f653789e5008da64ff04ee109471284a9e284 GIT binary patch literal 10819 zcmb`NXHZjX->;L91QJksO+b()O%YU3Q9(BX7GztHZs?ta9(o#~_ui}YE>aZ(NQ;0- z4L$TKAR+=54({iD-gD-B-kDi5`LJfznl!Zf0ITjX< zw6M*zDXDPSXu-&SbaR}=R&4ujA5*e1nqVdtemfLlxx z`s#5BI0&c9darz3!be?Y&*jZS&Z2>wmCzZLYxvcVFEuibNYYPB`m&$J-Rx)@D*04o zQ0OwUmSFchNrnlj2T)s)Gr&C2Prg6aM)1H`_mp4%?qu?o`(VE#&GW*GcLAry)Qyy@ zP@T?#XC#pNRmRj>uA#tm{av$OoZPH>>1{b86PN6c>^*y8|LLmhWxpra-8aVrjJsOi z;=jpGH(P!$IOVIf^`^t?M}?r#!R}&JRD0l7dc)_{cGnlrr_9D4Zjv!N&aZpo$*<5CIc zuGfFt7)2?sV;7#@mew$jr3u<{#*I{W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ask_question, url: panel_ask_front_end_ask_questions_path(standalone: true), html: {class: 'form-horizontal'} do |f| %> @@ -62,11 +92,18 @@
- <%= f.submit t('submit'), class: 'btn btn-primary' %> + <%= f.submit t('submit'), class: 'btn btn-primary', :id => 'button-mail' %> <%= f.button t('cancel'), type: 'reset', class: 'btn' %>
<% end %> +