= title _('Your response to: %s' % @assignment.title)
= head_embed javascript_include_tag('jquery_ujs')

.row#response
  .seven.columns

    = @response.content.html_safe

    - unless @response.answers.blank?
      - @response.answers.each_with_index do |question, question_id|
        = render(:partial => "quiz_#{question['type']}", :locals => {:question => question, :question_id => question_id, :show_results => true})

    - if can?(:destroy, @response)
      %p
        = link_to(_('Delete'), lecture_assignment_response_path, :method => :delete, :class => 'button radius small response-delete')

  = render(:partial => 'sidebar_show')

= title _('Your response to: %s' % @assignment.title)
= head_embed javascript_include_tag('jquery_ujs')

.row#response
  .seven.columns

    = @response.content.html_safe

    - unless @response.answers.blank?
      - @response.answers.each_with_index do |question, question_id|
        = render(:partial => "quiz_#{question['type']}", :locals => {:question => question, :question_id => question_id, :show_results => true})

    - if can?(:destroy, @response)
      %p
        = link_to(_('Delete'), lecture_assignment_response_path, :method => :delete, :class => 'button radius small', :id =>'response-delete')

  = render(:partial => 'sidebar_show')

Update response delete button css ids.
Update response delete button css ids.