From c887b8fccd6459849aa37802c3a3acb40f317d0a Mon Sep 17 00:00:00 2001 From: ablwr Date: Sun, 17 Aug 2014 17:15:18 -0400 Subject: [PATCH] start over button, changed links to buttons too --- app/assets/javascripts/forms.js | 5 +++++ app/views/forms/index.html.erb | 17 ++++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/forms.js b/app/assets/javascripts/forms.js index 53373c2..a242521 100644 --- a/app/assets/javascripts/forms.js +++ b/app/assets/javascripts/forms.js @@ -1,5 +1,10 @@ $(document).ready(function() { + $( ".reload" ).click(function() { + location.reload(); + }); + + $( "#show_display_info" ).click(function() { $( ".display_info" ).toggle(); }); diff --git a/app/views/forms/index.html.erb b/app/views/forms/index.html.erb index 760d838..b5eedca 100644 --- a/app/views/forms/index.html.erb +++ b/app/views/forms/index.html.erb @@ -12,19 +12,19 @@
@@ -48,4 +48,11 @@ +
+
+

+
+
+ +