From 501f89928869ca86b2d56e11124f4b69dde36e41 Mon Sep 17 00:00:00 2001 From: Mohamed Fadel Date: Fri, 25 Apr 2014 19:07:04 +0200 Subject: [PATCH] Issue #211 fixing indentations --- tutor/app/views/model_answers/_index.html.erb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tutor/app/views/model_answers/_index.html.erb b/tutor/app/views/model_answers/_index.html.erb index bbc451c3..14049020 100644 --- a/tutor/app/views/model_answers/_index.html.erb +++ b/tutor/app/views/model_answers/_index.html.erb @@ -43,13 +43,14 @@ :action => 'edit', :method => :get, :id => answer1.id}, {class: 'btn btn-primary btn-xs', style: "text-decoration:none"} %> - Delete + Delete <%= button_to "Delete", - {controller: :hints, action: :destroy, id: hint1.id}, - :method => :delete, class: 'btn btn-primary btn-xs' %> + {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', + <%= 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 ?" %>