anchor.diff:                  </a>
                 </li>
               <% end %>
  -  
  +
               <% if can_do(@quiz, @current_user, :update) %>
                 <% if @quiz.locked? %>
  -                <%= form_for @quiz, :url => context_url(@context, :context_quiz_url, @quiz.id), :html => { :id => 'quiz_unlock_form' } do |f| %>
  +                <%= form_for @quiz, as: :quiz, method: :put, :url => context_url(@context, :context_quiz_url, @quiz.id), :html => { :id => 'quiz_unlock_form' } do |f| %>
                     <%= hidden_field_tag 'quiz[locked]', false %>
                     <div id="unlock_for_how_long_dialog" title="<%= t('titles.unlock_for_how_long', "How long would you like to unlock the quiz for?") %>" style="display:none;">
                       <label style="float: left;" for="no_time_limit">
  
positive.code:                       </a>
                      </li>
                    <% else %>
                      <%= form_for @quiz, :url => context_url(@context, :context_quiz_url, @quiz.id), :html => { :id => 'quiz_lock_form' } do |f| %>
                        <%= hidden_field_tag 'quiz[locked]', true %>
                      <% end %>
                      <% qos_lock_quiz_title = @quiz.survey? ? t('buttons.lock_survey', "Lock this Survey Now") : t('buttons.lock_quiz', "Lock this Quiz Now") %>
  
negative.code: 
                  <% if can_do(@quiz, @current_user, :update) %>
                    <% if @quiz.locked? %>
                      <%= form_for @quiz, as: :quiz, method: :put, :url => context_url(@context, :context_quiz_url, @quiz.id), :html => { :id => 'quiz_unlock_form' } do |f| %>
                        <%= hidden_field_tag 'quiz[locked]', false %>
                        <div id="unlock_for_how_long_dialog" title="<%= t('titles.unlock_for_how_long', "How long would you like to unlock the quiz for?") %>" style="display:none;">
                          <label style="float: left;" for="no_time_limit">
  