From 62db93105506f7dad75ad5f892cc26f5d88ba60e Mon Sep 17 00:00:00 2001 From: Mohamed Fadel Date: Fri, 25 Apr 2014 19:46:13 +0200 Subject: [PATCH] Fixing buttons #211 --- tutor/app/views/model_answers/_index.html.erb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tutor/app/views/model_answers/_index.html.erb b/tutor/app/views/model_answers/_index.html.erb index 5eec5102..03a49166 100644 --- a/tutor/app/views/model_answers/_index.html.erb +++ b/tutor/app/views/model_answers/_index.html.erb @@ -48,11 +48,6 @@ {controller: :hints, action: :destroy, id: hint1.id}, :method => :delete, class: 'btn btn-primary btn-xs' %> Delete - <%= button_to "Delete", {:controller => 'model_answers', - :action => 'destroy', :id => answer1.id}, - method: :delete, class: 'btn btn-primary', - :confirm => "Are you sure you want to delete - this Answer ?" %> <% end %>