<commit_before>var cdb = require('cartodb.js-v3');
var BaseDialog = require('./views/base_dialog/view');

/**
 *  When an organization owner wants to delete the full organization
 *
 */

module.exports = BaseDialog.extend({
  options: {
    authenticityToken: ''
  },

  events: BaseDialog.extendEvents({
    'submit .js-form': 'close'
  }),

  className: 'Dialog is-opening',

  initialize: function () {
    this.elder('initialize');
    this.template = cdb.templates.getTemplate('common/views/delete_organization');
  },

  render_content: function () {
    return this.template({
      formAction: cdb.config.prefixUrl() + '/organization',
      authenticityToken: this.options.authenticityToken,
      passwordNeeded: this.options.user.attributes.needs_password_confirmation === true
    });
  }
});<commit_msg>passwordNeeded variable<commit_after>var cdb = require('cartodb.js-v3');
var BaseDialog = require('./views/base_dialog/view');

/**
 *  When an organization owner wants to delete the full organization
 *
 */

module.exports = BaseDialog.extend({
  options: {
    authenticityToken: ''
  },

  events: BaseDialog.extendEvents({
    'submit .js-form': 'close'
  }),

  className: 'Dialog is-opening',

  initialize: function () {
    this.elder('initialize');
    this.template = cdb.templates.getTemplate('common/views/delete_organization');
    this.passwordNeeded = this.options.user.attributes.needs_password_confirmation === true
  },

  render_content: function () {
    return this.template({
      formAction: cdb.config.prefixUrl() + '/organization',
      authenticityToken: this.options.authenticityToken,
      passwordNeeded: this.passwordNeeded
    });
  }
});
{'fraction_non_alphanumeric': 0.1415876777251185, 'fraction_numerical': 0.001184834123222749, 'mean_word_length': 3.924198250728863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2496572', 'n_tokens_mistral': 509, 'n_tokens_neox': 490, 'n_words': 93}