From 299a882277b83c6950f56fa096e3b71f2094d4a8 Mon Sep 17 00:00:00 2001 From: Stella Date: Thu, 6 Mar 2014 17:31:58 +0200 Subject: [PATCH] Fix view of questions in Registrations --- app/views/admin/registrations/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/registrations/show.html.haml b/app/views/admin/registrations/show.html.haml index 119ba901..57d0e1d3 100644 --- a/app/views/admin/registrations/show.html.haml +++ b/app/views/admin/registrations/show.html.haml @@ -47,7 +47,7 @@ - else = registration.send(field.to_sym) %td - = link_to "Questions", "#", :class => "questions btn btn-success", :id => counter, :onclick => "toggle('row#{counter}')" + = link_to "Questions", "javascript: void(0)", :class => "questions btn btn-success", :id => counter, :onclick => "toggle('row#{counter}')" %td = link_to "Edit", admin_conference_registrations_edit_path(@conference.short_title, :id => registration.id), :method => :get, :class => "btn btn-primary"