anchor.diff:    });
   
     var popover_content = '<p>If you get a new link, the previous link will stop working.<p>'+
  -          '<p><b>Get a new link?</b></p>' +
             '<div style="float:right;">'+
               '<button type="submit" onclick="new_link_confirm()" class="btn btn-danger btn-confirm" style="margin:10px;">Yes</button>' +
               '<button type="submit" onclick="new_link_cancel()" class="btn btn-primary btn-confirm">Cancel</button>'+
  
positive.code:                   class: 'form-control', readonly: true, style: 'background:white;' %>
                  <span class="input-group-btn">
                    <%= button_tag "Copy", id: 'playlist-share-btn',
                      class: "btn btn-secondary" %>
                  </span>
                </div>
              </div>
              <div class="col-xs-2">
                <%= button_tag "Get new link", id: 'get-new-link',
                  class: 'btn btn-secondary', data: { 'playlist_id': @playlist.id } %>
              </div>
            </div>
  
  
negative.code:     trigger: 'click',
      html: true,
      placement: 'top',
      title: 'Get a new link?',
      template: popover_template,
      content: popover_content,
    });
  